From 2f0521a6a2452ea496708df1a138d78e77571df3 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 19 Nov 2017 23:33:08 +1300 Subject: Force g:current_compiler removal before check/lint This seems to be necessary for Vim 6. --- vim/compiler/perlcritic.vim | 2 +- vim/compiler/vint.vim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'vim/compiler') diff --git a/vim/compiler/perlcritic.vim b/vim/compiler/perlcritic.vim index 381e0df3..39dcb46f 100644 --- a/vim/compiler/perlcritic.vim +++ b/vim/compiler/perlcritic.vim @@ -1,4 +1,4 @@ -if exists('current_compiler') +if exists('g:current_compiler') finish endif let g:current_compiler = 'tidy' diff --git a/vim/compiler/vint.vim b/vim/compiler/vint.vim index 35a4372e..1fbe3b62 100644 --- a/vim/compiler/vint.vim +++ b/vim/compiler/vint.vim @@ -1,4 +1,4 @@ -if exists('current_compiler') +if exists('g:current_compiler') finish endif let g:current_compiler = 'vimlint' -- cgit v1.2.3