mirror of https://github.com/dense-analysis/ale
Merge pull request #3517 from ttys3/master
fix: proper initialization options call in php intelephense
This commit is contained in:
commit
8c34c738ab
|
@ -18,8 +18,8 @@ function! ale_linters#php#intelephense#GetProjectRoot(buffer) abort
|
||||||
return !empty(l:git_path) ? fnamemodify(l:git_path, ':h:h') : ''
|
return !empty(l:git_path) ? fnamemodify(l:git_path, ':h:h') : ''
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! ale_linters#php#intelephense#GetInitializationOptions() abort
|
function! ale_linters#php#intelephense#GetInitializationOptions(buffer) abort
|
||||||
return ale#Get('php_intelephense_config')
|
return ale#Var(a:buffer, 'php_intelephense_config')
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
call ale#linter#Define('php', {
|
call ale#linter#Define('php', {
|
||||||
|
|
Loading…
Reference in New Issue