c syntax_checker: fix php extension
This commit is contained in:
parent
0570e0605d
commit
e45183a71d
@ -180,7 +180,8 @@ endfunction
|
|||||||
function! s:CheckPhp()
|
function! s:CheckPhp()
|
||||||
if executable('php-config')
|
if executable('php-config')
|
||||||
if !exists('s:php_flags')
|
if !exists('s:php_flags')
|
||||||
let s:php_flags = ' ' . system('php-config --includes')
|
let s:php_flags = system('php-config --includes')
|
||||||
|
let s:php_flags = ' ' . substitute(s:php_flags, "\n", '', '')
|
||||||
endif
|
endif
|
||||||
return s:php_flags
|
return s:php_flags
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user