1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 13:10:05 +08:00
SpaceVim/bundle/vim-matchup/test/issues/69/cpptemplate.vim
2020-06-13 14:06:35 +08:00

12 lines
267 B
VimL

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-=<:>