Skip to content
Browse files

Merge pull request #4 from has2k1/b0ad310651d4cc86639c21482cdabacdd77…

…2885c

Has2k1
  • Loading branch information...
2 parents 25deca4 + b0ad310 commit 7e584a2fc8d668377acddb1ebec54573255fdf33 Steve Francia committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 ftplugin/php.vim
View
3 ftplugin/php.vim
@@ -72,7 +72,8 @@ setlocal makeprg=php\ -l\ %
" Use errorformat for parsing PHP error output
setlocal errorformat=%m\ in\ %f\ on\ line\ %l
-syntax on " Switch syntax highlighting on, if it was not
+" Switch syntax highlighting on, if it was not
+if !exists("g:syntax_on") | syntax on | endif
"setlocal keywordprg=pman " Use pman for manual pages

0 comments on commit 7e584a2

Please sign in to comment.
Something went wrong with that request. Please try again.