summaryrefslogtreecommitdiffstats
path: root/indent/nix.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/nix.vim')
-rw-r--r--indent/nix.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/indent/nix.vim b/indent/nix.vim
index b31ae42e..54abd430 100644
--- a/indent/nix.vim
+++ b/indent/nix.vim
@@ -1,5 +1,7 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nix') == -1
-
+if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'nix') != -1
+ finish
+endif
+
" Vim indent file
" Language: Nix
" Maintainer: Daiderd Jordan <daiderd@gmail.com>
@@ -103,5 +105,3 @@ endfunction
let &cpo = s:cpo_save
unlet s:cpo_save
-
-endif