aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/php.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/php.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/php.vim')
-rw-r--r--vim/after/ftplugin/php.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/vim/after/ftplugin/php.vim b/vim/after/ftplugin/php.vim
index 1f40aba7..765c1fb9 100644
--- a/vim/after/ftplugin/php.vim
+++ b/vim/after/ftplugin/php.vim
@@ -6,6 +6,7 @@ endif
" Use PHP itself for syntax checking
compiler php
let b:undo_ftplugin = b:undo_ftplugin
+ \ . '|unlet b:current_compiler'
\ . '|setlocal errorformat<'
\ . '|setlocal makeprg<'