aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/sh.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-09 03:08:24 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-09 03:08:24 +1200
commit9ede911cc92a224419e034b81e8c3abf4cdf9119 (patch)
treef4a901ee1494274f6d0269c33f96c9692f53864e /vim/after/ftplugin/sh.vim
parentAdjust comments in filetype.vim (diff)
downloaddotfiles-9ede911cc92a224419e034b81e8c3abf4cdf9119.tar.gz
dotfiles-9ede911cc92a224419e034b81e8c3abf4cdf9119.zip
Clear b:current_compiler on unload
Diffstat (limited to 'vim/after/ftplugin/sh.vim')
-rw-r--r--vim/after/ftplugin/sh.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/vim/after/ftplugin/sh.vim b/vim/after/ftplugin/sh.vim
index 01505a88..5cafdd70 100644
--- a/vim/after/ftplugin/sh.vim
+++ b/vim/after/ftplugin/sh.vim
@@ -27,6 +27,7 @@ else
endif
execute 'compiler '.b:sh_check_compiler
let b:undo_ftplugin = b:undo_ftplugin
+ \ . '|unlet b:current_compiler'
\ . '|unlet b:sh_check_compiler'
\ . '|setlocal errorformat<'
\ . '|setlocal makeprg<'