From 0caff20a3612b24e886692bc1efef57bfb1a3009 Mon Sep 17 00:00:00 2001 From: "Andy K. Massimino" Date: Wed, 3 Mar 2021 17:18:30 -0500 Subject: [PATCH] Tweak unmatchit --- autoload/matchup/unmatchit.vim | 4 +++- plugin/matchup.vim | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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