Skip to content

Commit

Permalink
Be more forgiving about presence of matchit re 41
Browse files Browse the repository at this point in the history
  • Loading branch information
andymass committed Oct 9, 2018
1 parent 500c80f commit 9c0c8e0
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions plugin/matchup.vim
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,8 @@ if exists('g:loaded_matchup')
endif
let g:loaded_matchup = 1

if has('nvim')
if exists(':MatchDebug')
runtime! autoload/matchup/unmatchit.vim
endif
elseif exists('g:loaded_matchit')
echoerr 'match-up must be loaded before matchit'
finish
if exists('g:loaded_matchit') && exists(':MatchDebug')
runtime! autoload/matchup/unmatchit.vim
endif
let g:loaded_matchit = 1

Expand Down

0 comments on commit 9c0c8e0

Please sign in to comment.