Files
vim-matchup/test/issues/69/cpptemplate.vim
Andy K. Massimino a0691e744a Add example for #69
2019-09-01 12:21:32 -04: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-=<:>