summaryrefslogtreecommitdiff
path: root/ale_linters/ocaml/ols.vim
blob: c0255a6c121da476e0aeac0ea855be41a31be27b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
" 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', 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',
\})