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