Why does emacs Tuareg show different color for functions in Ocaml?
1 answer
This is just Tuareg's mistake. If the first argument to a function is an entry, Tuareg cannot recognize it as a function definition. Tuareg is written in emacs lisp and doesn't know anything about the OCaml syntax tree itself like the OCaml compiler. Therefore, you should not expect anything perfect from him. If you don't like it, how about submitting a bug report to the tuareg mode development website?
0
source to share