ocaml/vim-ocaml

Vim runtime files for OCaml

Vim Script

85

228 commits

updated Jul 25, 2025

See the code

README

vim-ocaml

Vim runtime files for OCaml. These are synced periodically with the builtin support that comes with Vim. Users are recommended to use this repository directly however as it's more up to date.

Installation

Depending on your plugin manager:

Plugin 'ocaml/vim-ocaml'
NeoBundleInstall ocaml/vim-ocaml'

" or use NeoBundleLazy
NeoBundleLazy 'rgrinberg/vim-ocaml', {'autoload' : {'filetypes' :
    \ ['ocaml', 'dune', 'opam', 'oasis', 'omake', 'ocamlbuild_tags', 'sexplib']}}

History

This repo started out by @rgrinberg extracting Markus Mottl's improvements to the builtin OCaml support in Vim. Later, support for more OCaml related tools was added: dune, opam etc. Nowadays, it's maintained by a team.

Contributors

rgrinberg

86 commits

mmottl

35 commits

Maelan

30 commits

copy

14 commits

ocaml/vim-ocaml

Vim runtime files for OCaml

Vim Script

85

228 commits

updated Jul 25, 2025

See the code

README

vim-ocaml

Vim runtime files for OCaml. These are synced periodically with the builtin support that comes with Vim. Users are recommended to use this repository directly however as it's more up to date.

Installation

Depending on your plugin manager:

Plugin 'ocaml/vim-ocaml'
NeoBundleInstall ocaml/vim-ocaml'

" or use NeoBundleLazy
NeoBundleLazy 'rgrinberg/vim-ocaml', {'autoload' : {'filetypes' :
    \ ['ocaml', 'dune', 'opam', 'oasis', 'omake', 'ocamlbuild_tags', 'sexplib']}}

History

This repo started out by @rgrinberg extracting Markus Mottl's improvements to the builtin OCaml support in Vim. Later, support for more OCaml related tools was added: dune, opam etc. Nowadays, it's maintained by a team.

Contributors

rgrinberg

86 commits

mmottl

35 commits

Maelan

30 commits

copy

14 commits

Languages

Vim Script

86.9%

OCaml

13.1%