mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-17 17:38:01 +00:00
Adjust C++ template pattern
This commit is contained in:
@@ -13,7 +13,7 @@ set cpo&vim
|
||||
|
||||
if matchup#util#matchpref('template', 0)
|
||||
call matchup#util#append_match_words(
|
||||
\ '\%(\s\@<!<\|<\s\@!\)=\@!:\%(\s\@<!>\|>\s\@!\)=\@!')
|
||||
\ '\%(\s\@<!<\|<\s\@!\)[=(]\@!:\%(\s\@<!>\|>\s\@!\)=\@!')
|
||||
if stridx(&matchpairs, '<:>')
|
||||
setlocal matchpairs-=<:>
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user