summaryrefslogtreecommitdiffstats
path: root/syntax/php.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--syntax/php.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/syntax/php.vim b/syntax/php.vim
index fec88265..56f53efa 100644
--- a/syntax/php.vim
+++ b/syntax/php.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'php') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'php') == -1
" Vim syntax file
" Language: PHP 5.3 & up
"
@@ -970,3 +967,4 @@ endif
" }}}
" vim: ts=8 sts=2 sw=2 fdm=marker expandtab
+endif