aboutsummaryrefslogtreecommitdiff
path: root/vim/compiler
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-19 23:33:08 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-19 23:33:08 +1300
commit2f0521a6a2452ea496708df1a138d78e77571df3 (patch)
tree7cad631d27a3497f0a0849f0a76267e9d5e15efc /vim/compiler
parentUse quickfix window for check/lint (diff)
downloaddotfiles-2f0521a6a2452ea496708df1a138d78e77571df3.tar.gz
dotfiles-2f0521a6a2452ea496708df1a138d78e77571df3.zip
Force g:current_compiler removal before check/lint
This seems to be necessary for Vim 6.
Diffstat (limited to 'vim/compiler')
-rw-r--r--vim/compiler/perlcritic.vim2
-rw-r--r--vim/compiler/vint.vim2
2 files changed, 2 insertions, 2 deletions
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'