summaryrefslogtreecommitdiff
path: root/ale_linters/ocaml/ols.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/ocaml/ols.vim')
-rw-r--r--ale_linters/ocaml/ols.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/ocaml/ols.vim b/ale_linters/ocaml/ols.vim
index c0255a6c..077862fc 100644
--- a/ale_linters/ocaml/ols.vim
+++ b/ale_linters/ocaml/ols.vim
@@ -2,7 +2,7 @@
" 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#Set('ocaml_ols_use_global', get(g:, 'ale_use_global_executables', 0))
call ale#linter#Define('ocaml', {
\ 'name': 'ols',