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