summaryrefslogtreecommitdiff
path: root/ale_linters/typescript/tsserver.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/typescript/tsserver.vim')
-rw-r--r--ale_linters/typescript/tsserver.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/typescript/tsserver.vim b/ale_linters/typescript/tsserver.vim
index 7a155bd9..5eb77dad 100644
--- a/ale_linters/typescript/tsserver.vim
+++ b/ale_linters/typescript/tsserver.vim
@@ -3,7 +3,7 @@
call ale#Set('typescript_tsserver_executable', 'tsserver')
call ale#Set('typescript_tsserver_config_path', '')
-call ale#Set('typescript_tsserver_use_global', 0)
+call ale#Set('typescript_tsserver_use_global', get(g:, 'ale_use_global_executables', 0))
" These functions need to be defined just to comply with the API for LSP.
function! ale_linters#typescript#tsserver#GetProjectRoot(buffer) abort