Add xml tagnameonly matchpref re #30

This commit is contained in:
Andy K. Massimino
2018-08-03 08:21:38 -04:00
parent 6c73814c45
commit 2fffc92f14

View File

@@ -0,0 +1,18 @@
" vim match-up - matchit replacement and more
"
" Maintainer: Andy Massimino
" Email: a@normed.space
"
let s:save_cpo = &cpo
set cpo&vim
if matchup#util#matchpref('tagnameonly', 0)
call matchup#util#patch_match_words('\)\%(', '\)\g{hlend}\%(')
call matchup#util#patch_match_words('\)\%(', '\)\g{hlend}\%(')
endif
let &cpo = s:save_cpo
" vim: fdm=marker sw=2