summaryrefslogtreecommitdiffstats
path: root/syntax/vifm.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/vifm.vim')
-rw-r--r--syntax/vifm.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/syntax/vifm.vim b/syntax/vifm.vim
index 00099e1c..26d163ff 100644
--- a/syntax/vifm.vim
+++ b/syntax/vifm.vim
@@ -1,5 +1,7 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vifm') == -1
-
+if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'vifm') != -1
+ finish
+endif
+
" vifm syntax file
" Maintainer: xaizek <xaizek@posteo.net>
" Last Change: January 31, 2019
@@ -451,5 +453,3 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim: set tabstop=2 softtabstop=2 shiftwidth=2 noexpandtab cinoptions-=(0 :
-
-endif