Load matchit.vim

Give precedence to a user installed version, if it exists.
This commit is contained in:
Tim Pope
2013-01-06 13:18:25 -05:00
parent 1a9e95e955
commit 7f240a9e6f
2 changed files with 6 additions and 0 deletions

View File

@@ -51,6 +51,10 @@ if exists('+undofile')
set undofile
endif
if !exists('g:loaded_matchit') && findfile('plugin/matchit.vim', &rtp) ==# ''
runtime! macros/matchit.vim
endif
nnoremap Y y$
" vim:set ft=vim et sw=2: