Fix to follow the Google VimScript Style Guide

This commit is contained in:
haginaga 2018-05-08 23:47:35 +09:00
parent ffa6fd4bed
commit 230656e678

View File

@ -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