aboutsummaryrefslogtreecommitdiff
path: root/vim/after/plugin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-02 21:46:35 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-02 21:46:35 +1200
commit8b9887ad91f4374069afe387acc5df1c90f23c0c (patch)
tree761f66311f826ef78fa3b488cc79041389d26800 /vim/after/plugin
parentRebuild help tags after installing bundle (diff)
downloaddotfiles-8b9887ad91f4374069afe387acc5df1c90f23c0c.tar.gz
dotfiles-8b9887ad91f4374069afe387acc5df1c90f23c0c.zip
Refactor Vim distribution plugin/macro handling
Intelligently choose how to load matchit.vim, and clean up the short-circuit variables for the unwanted distribution plugins in an "after" plugin script.
Diffstat (limited to 'vim/after/plugin')
-rw-r--r--vim/after/plugin/dist.vim10
1 files changed, 10 insertions, 0 deletions
diff --git a/vim/after/plugin/dist.vim b/vim/after/plugin/dist.vim
new file mode 100644
index 00000000..4613925f
--- /dev/null
+++ b/vim/after/plugin/dist.vim
@@ -0,0 +1,10 @@
+" Clean up the short-circuiting variables from config/plugins.vim
+unlet! g:loaded_getscriptPlugin
+unlet! g:loaded_vimballPlugin
+unlet! g:loaded_logiPat
+unlet! g:loaded_netrwPlugin
+unlet! g:loaded_rrhelper
+unlet! g:loaded_spellfile_plugin
+unlet! g:loaded_gzip
+unlet! g:loaded_tarPlugin
+unlet! g:loaded_zipPlugin