From 719b790574b6aeb4fc3c956dfbcffa3c3987a668 Mon Sep 17 00:00:00 2001 From: w0rp Date: Mon, 9 Apr 2018 19:11:20 +0100 Subject: Close #542 - Add an option for disabling running locally installed executables by default --- ale_linters/ocaml/ols.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ale_linters/ocaml/ols.vim') 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', -- cgit v1.2.3