summaryrefslogtreecommitdiffstats
path: root/indent/nim.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--indent/nim.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/indent/nim.vim b/indent/nim.vim
index 94250b70..b61ee8b3 100644
--- a/indent/nim.vim
+++ b/indent/nim.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'nim') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nim') == -1
" Only load this indent file when no other was loaded.
if exists("b:did_indent")
finish
@@ -144,3 +141,4 @@ endfunction
" vim:sw=2
+endif