diff options
author | Horacio Sanson <hsanson@gmail.com> | 2021-01-05 10:53:34 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-05 10:53:34 +0900 |
commit | 8c34c738aba4ef2ff033b693037eec343f629b0e (patch) | |
tree | dabed138dc4e6df43fc465f4c1c6e8e810f086fd /ale_linters | |
parent | 7fca451cf9a3068efe5e93fcc4b5494d939245fb (diff) | |
parent | b4d889b682c2b55508f006ef8d1377a4ca3d9739 (diff) | |
download | ale-8c34c738aba4ef2ff033b693037eec343f629b0e.zip |
Merge pull request #3517 from ttys3/master
fix: proper initialization options call in php intelephense
Diffstat (limited to 'ale_linters')
-rwxr-xr-x[-rw-r--r--] | ale_linters/php/intelephense.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/php/intelephense.vim b/ale_linters/php/intelephense.vim index e9e07d1f..aca619e3 100644..100755 --- a/ale_linters/php/intelephense.vim +++ b/ale_linters/php/intelephense.vim @@ -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', { |