Added ocamllsp (#3595)

* Added ocamllsp

* Update ordering in docs to be alphabetical

* Updated expected result in test
This commit is contained in:
Risto Stevcev
2021-02-18 15:51:11 +01:00
committed by GitHub
parent 1ee7f6c97b
commit 3ea887d2f4
8 changed files with 83 additions and 0 deletions

View File

@@ -0,0 +1,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('ocaml', {
\ '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'),
\})