1
0
Fork 0
mirror of synced 2024-05-29 05:21:12 -04:00
ultimate-vim/sources_non_forked/ale/ale_linters/ocaml/ols.vim
Amir Salihefendic 3e3297af67 Updated plugins
2018-06-14 12:31:12 +02:00

15 lines
551 B
VimL

" Author: Michael Jungo <michaeljungo92@gmail.com>
" Description: A language server for OCaml
call ale#Set('ocaml_ols_executable', 'ocaml-language-server')
call ale#Set('ocaml_ols_use_global', get(g:, 'ale_use_global_executables', 0))
call ale#linter#Define('ocaml', {
\ 'name': 'ols',
\ 'lsp': 'stdio',
\ 'executable_callback': 'ale#handlers#ols#GetExecutable',
\ 'command_callback': 'ale#handlers#ols#GetCommand',
\ 'language_callback': 'ale#handlers#ols#GetLanguage',
\ 'project_root_callback': 'ale#handlers#ols#GetProjectRoot',
\})