vim-ocaml icon indicating copy to clipboard operation
vim-ocaml copied to clipboard

Vim runtime files for OCaml

Results 20 vim-ocaml issues
Sort by recently updated
recently updated
newest added

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 ![dune-3.7.0.opam](https://user-images.githubusercontent.com/942324/220099806-ac14131a-f341-48e2-a17c-a1bf396813dc.png)

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. ![Example](http://i.imgur.com/XrAJsiB.png) ``` Ocaml module type S = sig...

![ocaml2](https://user-images.githubusercontent.com/1274291/180300636-5a6a563f-74d8-4c05-ae67-5ded4eceeabf.png)