e149692cc9
subrepo: subdir: "dotfiles/.vim/plugged/ale" merged: "e4b205440" upstream: origin: "https://github.com/dense-analysis/ale.git" branch: "master" commit: "e4b205440" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
14 lines
555 B
VimL
14 lines
555 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': function('ale#handlers#ols#GetExecutable'),
|
|
\ 'command': function('ale#handlers#ols#GetCommand'),
|
|
\ 'language': function('ale#handlers#ols#GetLanguage'),
|
|
\ 'project_root': function('ale#handlers#ols#GetProjectRoot'),
|
|
\})
|