fix: proper initialization options call in php intelephense
This commit is contained in:
parent
7fca451cf9
commit
b4d889b682
1 changed files with 2 additions and 2 deletions
4
ale_linters/php/intelephense.vim
Normal file → Executable file
4
ale_linters/php/intelephense.vim
Normal file → Executable file
|
@ -18,8 +18,8 @@ function! ale_linters#php#intelephense#GetProjectRoot(buffer) abort
|
|||
return !empty(l:git_path) ? fnamemodify(l:git_path, ':h:h') : ''
|
||||
endfunction
|
||||
|
||||
function! ale_linters#php#intelephense#GetInitializationOptions() abort
|
||||
return ale#Get('php_intelephense_config')
|
||||
function! ale_linters#php#intelephense#GetInitializationOptions(buffer) abort
|
||||
return ale#Var(a:buffer, 'php_intelephense_config')
|
||||
endfunction
|
||||
|
||||
call ale#linter#Define('php', {
|
||||
|
|
Reference in a new issue