There is no official support for that in projectile (I think) but, you can use dir-local-variables and a little bit of hacking code like this:
(defun open-local-file-projectile (directory)
"Helm action function, open projectile file within DIRECTORY
specify by the keyword projectile-default-file define in
(let ((default-file (...
I came up with a working solution after fiddling around and figuring out the information I edited into the original question. I'm not sure if this is the best approach, but it resolved my issue.
After these changes the correct ligatures are displayed within OCaml's Tuareg mode automatically.
First, I deleted
from my config ...
I finally got it working. Emacs has the line-move-visual variable, but spacemacs requires spacemacs/toggle-visual-line-navigation to be run instead. If you want this command to modify the bindings for the arrow keys you'll have to switch spacemacs to the develop branch (as of 2020-06-25). To do this, skip to step 6 below.
If that solves your problem, ...
Choose your tool
If you have installed ag and not rg then ag will be used according to the documentation string in your dotfile you can see that Spacemacs tries the search tool in this order first rg, then ag, pt, ack and finally grep.
Hack your tool
One solution is to use the options of the tool you are using in your case for ag:
create a .agignore ignore ...
These versions are also called "stages" and the command to pick on is magit-checkout-stage. You can invoke that using M-x of course, but you can also just press k (magit-discard) on the conflicting file to discard the other stages. (But be aware that this prompts you for which side to keep, not which side to discard.)