diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-19 23:33:08 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-19 23:33:08 +1300 |
commit | 2f0521a6a2452ea496708df1a138d78e77571df3 (patch) | |
tree | 7cad631d27a3497f0a0849f0a76267e9d5e15efc /vim/compiler | |
parent | Use quickfix window for check/lint (diff) | |
download | dotfiles-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.vim | 2 | ||||
-rw-r--r-- | vim/compiler/vint.vim | 2 |
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' |