1
0
Fork 0
mirror of synced 2024-11-26 18:55:34 -05:00
ultimate-vim/sources_non_forked/ale/ale_linters/ocaml/ols.vim

15 lines
555 B
VimL
Raw Normal View History

" Author: Michael Jungo <michaeljungo92@gmail.com>
" Description: A language server for OCaml
call ale#Set('ocaml_ols_executable', 'ocaml-language-server')
2018-06-14 06:31:12 -04:00
call ale#Set('ocaml_ols_use_global', get(g:, 'ale_use_global_executables', 0))
call ale#linter#Define('ocaml', {
\ 'name': 'ols',
\ 'lsp': 'stdio',
2019-03-08 06:04:56 -05:00
\ 'executable': function('ale#handlers#ols#GetExecutable'),
\ 'command': function('ale#handlers#ols#GetCommand'),
2020-12-04 16:15:32 -05:00
\ 'language': function('ale#handlers#ols#GetLanguage'),
2019-03-08 06:04:56 -05:00
\ 'project_root': function('ale#handlers#ols#GetProjectRoot'),
\})