mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-18 01:38:57 +00:00
Add xml tagnameonly matchpref re #30
This commit is contained in:
18
after/ftplugin/xml_matchup.vim
Normal file
18
after/ftplugin/xml_matchup.vim
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user