From 3ea887d2f4d43dd55d81213517344226f6399ed6 Mon Sep 17 00:00:00 2001 From: Risto Stevcev Date: Thu, 18 Feb 2021 15:51:11 +0100 Subject: Added ocamllsp (#3595) * Added ocamllsp * Update ordering in docs to be alphabetical * Updated expected result in test --- ale_linters/ocaml/ocamllsp.vim | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 ale_linters/ocaml/ocamllsp.vim (limited to 'ale_linters/ocaml') diff --git a/ale_linters/ocaml/ocamllsp.vim b/ale_linters/ocaml/ocamllsp.vim new file mode 100644 index 00000000..4ff7419c --- /dev/null +++ b/ale_linters/ocaml/ocamllsp.vim @@ -0,0 +1,13 @@ +" Author: Risto Stevcev +" 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'), +\}) -- cgit v1.2.3