diff --git a/autoload/matchup/unmatchit.vim b/autoload/matchup/unmatchit.vim index 15a1d12..44bf018 100644 --- a/autoload/matchup/unmatchit.vim +++ b/autoload/matchup/unmatchit.vim @@ -12,6 +12,9 @@ if !exists('g:loaded_matchup') finish endif +function! matchup#unmatchit#() +endfunction + unlet g:loaded_matchit delcommand MatchDebug @@ -23,4 +26,3 @@ silent! unmap a% silent! unmap g% " vim: fdm=marker sw=2 - diff --git a/plugin/matchup.vim b/plugin/matchup.vim index 009e38d..587131c 100644 --- a/plugin/matchup.vim +++ b/plugin/matchup.vim @@ -25,7 +25,7 @@ endif let g:loaded_matchup = 1 if exists('g:loaded_matchit') && exists(':MatchDebug') - runtime! autoload/matchup/unmatchit.vim + call matchup#unmatchit#() endif let g:loaded_matchit = 1