summaryrefslogtreecommitdiffstats
path: root/compiler/nix-build.vim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/nix-build.vim')
-rw-r--r--compiler/nix-build.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/nix-build.vim b/compiler/nix-build.vim
index 89a2453b..aa8932c1 100644
--- a/compiler/nix-build.vim
+++ b/compiler/nix-build.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('nix', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'nix')
finish
endif