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/after/ftplugin/perl/lint.vim | 1 + 1 file changed, 1 insertion(+) (limited to 'vim/after/ftplugin/perl/lint.vim') diff --git a/vim/after/ftplugin/perl/lint.vim b/vim/after/ftplugin/perl/lint.vim index 0f2f0cd7..48b23091 100644 --- a/vim/after/ftplugin/perl/lint.vim +++ b/vim/after/ftplugin/perl/lint.vim @@ -14,6 +14,7 @@ if !exists('*s:PerlLint') function s:PerlLint() let l:save_makeprg = &l:makeprg let l:save_errorformat = &l:errorformat + unlet! g:current_compiler compiler perlcritic make! let &l:makeprg = l:save_makeprg -- cgit v1.2.3