Open shinzui opened 6 years ago
I am pretty sure that a formatprg
will override any other setup for that filetype.
Not sure why the markdown formatprg
is being used for other filetypes.
If you remove the let g:neoformat_try_formatprg = 1
what happens?
I can't reproduce when I remove let g:neoformat_try_formatprg
Neoformat seems to ignore my enabled formatters on occasion and decides to run
prettier
instead. I am wondering what I can do to prevent that since it ruins my flow every time it happens. This mostly affectterraform
andocaml
files. My config is below.Here is the relevant section from the logs when I save an
OCaml
file. Shouldn'tNeoformat
only runocamlformat
since I havelet g:neoformat_enabled_ocaml = ['ocamlformat']
configured?set ft?
returnsfiletype=ocaml