mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 13:10:05 +08:00
12 lines
267 B
VimL
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-=<:>
|
|
|