summaryrefslogtreecommitdiff
path: root/ale_linters/php/phpcs.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/php/phpcs.vim')
-rw-r--r--ale_linters/php/phpcs.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/php/phpcs.vim b/ale_linters/php/phpcs.vim
index 399fbd23..faf8ad55 100644
--- a/ale_linters/php/phpcs.vim
+++ b/ale_linters/php/phpcs.vim
@@ -4,7 +4,7 @@
let g:ale_php_phpcs_standard = get(g:, 'ale_php_phpcs_standard', '')
call ale#Set('php_phpcs_executable', 'phpcs')
-call ale#Set('php_phpcs_use_global', 0)
+call ale#Set('php_phpcs_use_global', get(g:, 'ale_use_global_executables', 0))
function! ale_linters#php#phpcs#GetExecutable(buffer) abort
return ale#node#FindExecutable(a:buffer, 'php_phpcs', [