Add example for #69

This commit is contained in:
Andy K. Massimino
2019-09-01 12:21:32 -04:00
parent f214b3a6e7
commit a0691e744a
2 changed files with 17 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
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-=<:>

View File

@@ -0,0 +1,6 @@
typedef BOOST_DEDUCED_TYPENAME boost::conditional<
boost::is_signed<no_cvr_prefinal_t>::value,
boost::make_signed<no_cvr_prefinal_t>,
boost::type_identity<no_cvr_prefinal_t>
>::type no_cvr_prefinal_lazy_t;