summaryrefslogtreecommitdiffstats
path: root/syntax/markdown.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--syntax/markdown.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/syntax/markdown.vim b/syntax/markdown.vim
index e59ffcae..b1758cd9 100644
--- a/syntax/markdown.vim
+++ b/syntax/markdown.vim
@@ -1,5 +1,7 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'markdown') == -1
-
+if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'markdown') != -1
+ finish
+endif
+
" Vim syntax file
" Language: Markdown
" Maintainer: Ben Williams <benw@plasticboy.com>
@@ -184,5 +186,3 @@ let b:current_syntax = "mkd"
delcommand HtmlHiLink
" vim: ts=8
-
-endif