1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 18:40:05 +08:00
SpaceVim/bundle/vim-matchup/test/issues/69/cpptemplate.vim

12 lines
267 B
VimL
Raw Normal View History

2020-06-13 14:06:35 +08:00
function! CppTemplate()
call matchup#util#append_match_words(
\ '\%(\s\@<!<\|<\s\@!\)=\@!:\%(\s\@<!>\|>\s\@!\)=\@!')
endfunction
if !exists('g:matchup_hotfix')
let g:matchup_hotfix = {}
endif
let g:matchup_hotfix.cpp = 'CppTemplate'
set matchpairs-=<:>