[ocaml-infra] Tuareg → OCaml umbrella
thomas at gazagnaire.org
Sun Jan 5 10:24:40 GMT 2014
>> […] I for one would be very happy to throw away any kind of
>> elisp-implemented approximation of the OCaml syntax, and use a more
>> principled approach such as Merlin+ocp-index to handle them
> I think elisp approximations serve their purpose and should be kept.
> IMHO the possibility to use external engines such as ocp-index should
> be offered within the ocaml-mode but stay opt-in.
>> (none of which currently support syntax highlighting iirc., but that
>> could be added to ocp-index capabilities).
> If such a possibility comes into existence, ping me!
I'd say that syntax highlighting is one of the only thing that is better done by the editor itself because it's much more faster. Having to send an RPC to an external process (or call an external command-line tool) on every key-stroke does not work very well in practice (or at least, it was one thing which slowed typerex v1 quite a lot -- I don't know how it is done in merlin).
More information about the Infrastructure