Skip to content

Commit cfa37dd

Browse files
committed
Merge pull request #25 from hachreak/disable_if_php_not_available
general: disable plugin if php not available.
2 parents b40f9a1 + c3f8cbc commit cfa37dd

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

plugin/Phpqa.vim

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
" }}}
1515
"-------------------------------------------------
1616

17+
" Disable plugin if php isn't available
18+
if 0 == has("php")
19+
finish
20+
endif
21+
1722
if exists("g:phpqa_check")
1823
finish
1924
endif

0 commit comments

Comments
 (0)