aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/perl
diff options
context:
space:
mode:
Diffstat (limited to 'vim/after/ftplugin/perl')
-rw-r--r--vim/after/ftplugin/perl/check.vim1
-rw-r--r--vim/after/ftplugin/perl/lint.vim1
2 files changed, 2 insertions, 0 deletions
diff --git a/vim/after/ftplugin/perl/check.vim b/vim/after/ftplugin/perl/check.vim
index 92f4b7a6..df90784f 100644
--- a/vim/after/ftplugin/perl/check.vim
+++ b/vim/after/ftplugin/perl/check.vim
@@ -14,6 +14,7 @@ if !exists('*s:PerlCheck')
function s:PerlCheck()
let l:save_makeprg = &l:makeprg
let l:save_errorformat = &l:errorformat
+ unlet! g:current_compiler
compiler perl
make!
let &l:makeprg = l:save_makeprg
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