vim-ocaml
vim-ocaml copied to clipboard
Vim runtime files for OCaml
This PR proposes to add syntax highlighting for OCamldoc and Odoc documentation. This adds syntax highlighting for both `*.mld` files and documentation comments in OCaml files. OCamldoc/Odoc syntax needs to...
Can this project be upstreamed to vim? At the moment the Vim and Neovim runtime are missing https://github.com/ocaml/vim-ocaml/commit/108a5cb86bb08f07e9992f2ea25a56a9360056d1, which causes `lisp` to be set globally once a dune file is...
I would expect `ocamlTypeConstr` to apply only to type constructors within type expressions, not to the identifier after `type` in: ```ocaml type foo = 'a bar list ``` `foo` is...
It looks like this was added to the VSCode extension a while ago, but not the Vim one. We could probably just port those highlight rules? https://github.com/ocamllabs/vscode-ocaml-platform/pull/193
with 20230124T171538 4c907ef I got the wrong color for `license:` and all following tags, see attached screen shot. It happens work for other opam files in ocaml/dune@d3d628f2eda2278bd2df6e37452d8693f367fcfd 
Here is a piece of syntax which is not properly handled: ``` ocaml module type X_int = sig val x : int end module Four: X_int = struct let x...
Fix highlight for dashes.
In the following snippet ```ocaml type foo = [`Foo] val bar : [>foo] ``` The `foo` on the second line is highlighted as an error.
Image and code attached with an example. I assume it's a rule in this file: https://github.com/rgrinberg/vim-ocaml/blob/master/syntax/ocaml.vim but I couldn't figure out myself.  ``` Ocaml module type S = sig...
