Fix to follow the Google VimScript Style Guide
This commit is contained in:
parent
ffa6fd4bed
commit
230656e678
@ -9,7 +9,7 @@ let g:ale_php_phan_use_client = get(g:, 'ale_php_phan_use_client', 0)
|
|||||||
|
|
||||||
function! ale_linters#php#phan#GetExecutable(buffer) abort
|
function! ale_linters#php#phan#GetExecutable(buffer) abort
|
||||||
let l:executable = ale#Var(a:buffer, 'php_phan_executable')
|
let l:executable = ale#Var(a:buffer, 'php_phan_executable')
|
||||||
if g:ale_php_phan_use_client == 1 && l:executable ==# 'phan'
|
if g:ale_php_phan_use_client == 1 && l:executable is# 'phan'
|
||||||
let l:executable = 'phan_client'
|
let l:executable = 'phan_client'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user