summaryrefslogtreecommitdiffstats
path: root/syntax/stylus.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/stylus.vim')
-rw-r--r--syntax/stylus.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/syntax/stylus.vim b/syntax/stylus.vim
index bd366007..bbdc2229 100644
--- a/syntax/stylus.vim
+++ b/syntax/stylus.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'stylus') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'stylus') == -1
" Vim syntax file
" Language: CSS3
" Maintainer: Hsiaoming Yang <lepture@me.com>
@@ -378,3 +375,4 @@ hi def link stylusIdChar Special
let b:current_syntax = "stylus"
" vim:set sw=2:
+endif