aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/html
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/after/ftplugin/html
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/after/ftplugin/html')
-rw-r--r--vim/after/ftplugin/html/lint.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/vim/after/ftplugin/html/lint.vim b/vim/after/ftplugin/html/lint.vim
index 47ab3766..c0fdc44f 100644
--- a/vim/after/ftplugin/html/lint.vim
+++ b/vim/after/ftplugin/html/lint.vim
@@ -16,6 +16,7 @@ if !exists('*s:HtmlLint')
function s:HtmlLint()
let l:save_makeprg = &l:makeprg
let l:save_errorformat = &l:errorformat
+ unlet! g:current_compiler
compiler tidy
make!
let &l:makeprg = l:save_makeprg