aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-30 10:29:10 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-30 10:29:10 +1200
commit620bd1d7086af16098ee004ea9ed9cc08a29f044 (patch)
tree6aa388443125f50f3f1f04cf0d7a889c1e71180a
parentAdd foldlevelstart_stdin.vim plugin (diff)
downloaddotfiles-620bd1d7086af16098ee004ea9ed9cc08a29f044.tar.gz
dotfiles-620bd1d7086af16098ee004ea9ed9cc08a29f044.zip
Don't set up 'wildignore' in &compatible mode
Vim doesn't understand line continuation characters in compatible mode, and I don't like the temporary &cpo hack.
-rw-r--r--vim/plugin/wildignore.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/plugin/wildignore.vim b/vim/plugin/wildignore.vim
index b10eaa01..a08e0251 100644
--- a/vim/plugin/wildignore.vim
+++ b/vim/plugin/wildignore.vim
@@ -1,7 +1,7 @@
" Don't complete certain files that I'm not likely to want to manipulate from
" within Vim; this is kind of expensive to reload, so I've made it a plugin
" with a load guard
-if v:version < 700 || !has('wildignore')
+if &compatible || v:version < 700 || !has('wildignore')
finish
endif
if exists('g:loaded_wildmenu')