diff options
Diffstat (limited to 'vim/plugin')
-rw-r--r-- | vim/plugin/matchit.vim | 2 | ||||
-rw-r--r-- | vim/plugin/shebang_update.vim | 20 |
2 files changed, 1 insertions, 21 deletions
diff --git a/vim/plugin/matchit.vim b/vim/plugin/matchit.vim index 31e6e37d..4507640e 100644 --- a/vim/plugin/matchit.vim +++ b/vim/plugin/matchit.vim @@ -1,6 +1,6 @@ " Get matchit.vim, one way or another if has('packages') && !has('nvim') - packadd! matchit + packadd matchit else silent! runtime macros/matchit.vim endif diff --git a/vim/plugin/shebang_update.vim b/vim/plugin/shebang_update.vim deleted file mode 100644 index 1dbcaf67..00000000 --- a/vim/plugin/shebang_update.vim +++ /dev/null @@ -1,20 +0,0 @@ -" -" shabeng_update.vim: If the first line of a file was changed, re-run -" scripts.vim to do shebang detection to update the filetype. -" -" Author: Tom Ryder <tom@sanctum.geek.nz> -" License: Same as Vim itself -" -if exists('g:loaded_shebang_update') || &compatible - finish -endif -if v:version < 700 - finish -endif -let g:loaded_shebang_update = 1 - -" Call the update function whenever leaving insert mode -augroup shebang_update - autocmd! - autocmd InsertLeave * call shebang#Update() -augroup END |