Merge pull request #3517 from ttys3/master

fix: proper initialization options call in php intelephense
This commit is contained in:
Horacio Sanson 2021-01-05 10:53:34 +09:00 committed by GitHub
commit 8c34c738ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

4
ale_linters/php/intelephense.vim Normal file → Executable file
View 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', {