We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c8cba1b + 1ebc81a commit 56dd009Copy full SHA for 56dd009
1 file changed
autoload/Phpqa.vim
@@ -93,7 +93,7 @@ function! Phpqa#PhpLint()
93
let l:php_output=system(g:phpqa_php_cmd." -l ".@%." 1>/dev/null")
94
let l:php_list=split(l:php_output, "\n")
95
96
- 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
97
let l:php_list[0] = "P ".l:php_list[0]
98
set errorformat=%t\ %m\ in\ %f\ on\ line\ %l
99
lexpr l:php_list[0]
0 commit comments