mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-17 17:38:01 +00:00
Add example for #69
This commit is contained in:
11
test/issues/69/cpptemplate.vim
Normal file
11
test/issues/69/cpptemplate.vim
Normal 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-=<:>
|
||||
|
||||
6
test/issues/69/template.cpp
Normal file
6
test/issues/69/template.cpp
Normal 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;
|
||||
|
||||
Reference in New Issue
Block a user