summaryrefslogtreecommitdiffstats
path: root/compiler/nim.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-10-17 17:40:10 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-10-17 17:40:10 +0200
commit518d733369fb6f2e4652e9649a78546ce6493079 (patch)
tree4fe3bbecd68b2270fb6949e0862154198108015b /compiler/nim.vim
parent00213842594d8262c35b64b03b176d6e831a6e94 (diff)
downloadvim-polyglot-518d733369fb6f2e4652e9649a78546ce6493079.tar.gz
vim-polyglot-518d733369fb6f2e4652e9649a78546ce6493079.zip
Make sure custom scripts.vim are respected as well
Diffstat (limited to 'compiler/nim.vim')
-rw-r--r--compiler/nim.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/nim.vim b/compiler/nim.vim
index a587a306..c849b1e9 100644
--- a/compiler/nim.vim
+++ b/compiler/nim.vim
@@ -1,12 +1,12 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nim') == -1
-if exists("current_compiler")
+if exists('current_compiler')
finish
endif
-let current_compiler = "nim"
+let current_compiler = 'nim'
-if exists(":CompilerSet") != 2 " older Vim always used :setlocal
+if exists(':CompilerSet') != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
endif