summaryrefslogtreecommitdiffstats
path: root/compiler/nim.vim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/nim.vim')
-rw-r--r--compiler/nim.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/nim.vim b/compiler/nim.vim
index edfa730e..f88e7d88 100644
--- a/compiler/nim.vim
+++ b/compiler/nim.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'nim')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'nim', 'compiler/nim.vim')
finish
endif