From 518d733369fb6f2e4652e9649a78546ce6493079 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sat, 17 Oct 2020 17:40:10 +0200 Subject: Make sure custom scripts.vim are respected as well --- compiler/nim.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'compiler/nim.vim') 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 endif -- cgit v1.2.3