Adjust C++ template pattern

This commit is contained in:
Andy K. Massimino
2023-04-29 12:45:57 -04:00
parent 1e276be930
commit 7038ef7d13

View File

@@ -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