mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-18 01:38:57 +00:00
Allow preventing loading matchit in init.vim, re #31
This commit is contained in:
@@ -24,11 +24,11 @@ if exists('g:loaded_matchup')
|
||||
endif
|
||||
let g:loaded_matchup = 1
|
||||
|
||||
if has('nvim') && exists(':MatchDebug')
|
||||
runtime! autoload/matchup/unmatchit.vim
|
||||
endif
|
||||
|
||||
if exists('g:loaded_matchit')
|
||||
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
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user