We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bba1b9 commit 1ebc81aCopy full SHA for 1ebc81a
1 file changed
autoload/Phpqa.vim
@@ -90,7 +90,7 @@ function! Phpqa#PhpLint()
90
let l:php_output=system(g:phpqa_php_cmd." -l ".@%." 1>/dev/null")
91
let l:php_list=split(l:php_output, "\n")
92
93
- if 0 != len(l:php_list) && match(l:php_list[0],"No syntax errors") == -1
+ if 0 != v:shell_error && match(l:php_list[0],"No syntax errors") == -1
94
let l:php_list[0] = "P ".l:php_list[0]
95
set errorformat=%t\ %m\ in\ %f\ on\ line\ %l
96
lexpr l:php_list[0]
0 commit comments