summaryrefslogtreecommitdiff
path: root/ale_linters/ocamlinterface/ocamllsp.vim
blob: cd4bea80de87647697f7eaca71b3b40f5e4569a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
" Author: Risto Stevcev <me@risto.codes>
" Description: The official language server for OCaml

call ale#Set('ocaml_ocamllsp_use_opam', 1)

call ale#linter#Define('ocamlinterface', {
\   'name': 'ocamllsp',
\   'lsp': 'stdio',
\   'executable': function('ale#handlers#ocamllsp#GetExecutable'),
\   'command': function('ale#handlers#ocamllsp#GetCommand'),
\   'language': function('ale#handlers#ocamllsp#GetLanguage'),
\   'project_root': function('ale#handlers#ocamllsp#GetProjectRoot'),
\})