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