summaryrefslogtreecommitdiff
path: root/ale_linters/reason/ols.vim
blob: 4e5bd395d3811e6bb85b5925300c52de610e7586 (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 Reason

call ale#Set('reason_ols_executable', 'ocaml-language-server')
call ale#Set('reason_ols_use_global', get(g:, 'ale_use_global_executables', 0))

call ale#linter#Define('reason', {
\   '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',
\})