You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where path is the path to your core installation (usually a collection
of .cmx and .cmxa files).
By default the camlp4o preprocessor is used to check the syntax of .ml, and .mli files,
ocamllex is used to check .mll files and menhir is used to check .mly files.
The output is all redirected to /dev/null, nothing is written to the disk.
If your source code needs camlp4r then you can define this in your .vimrc:
letg:syntastic_ocaml_camlp4r=1
If you used some syntax extensions, or you want to also typecheck the source
code, then you can define this:
letg:syntastic_ocaml_use_ocamlbuild=1
This will run ocamlbuild <name>.inferred.mli, so it will write to your _build
directory (and possibly rebuild your myocamlbuild.ml plugin), only enable this
if you are ok with that.
If you are using syntax extensions / external libraries and have a properly
set up _tags (and myocamlbuild.ml file) then it should just work
to enable this flag and get syntax / type checks through syntastic.
For best results your current directory should be the project root
(same situation if you want useful output from :make).