From 8b9887ad91f4374069afe387acc5df1c90f23c0c Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 2 Jun 2018 21:46:35 +1200 Subject: 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. --- vim/after/plugin/dist.vim | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 vim/after/plugin/dist.vim (limited to 'vim/after/plugin') 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 -- cgit v1.2.3