From a0691e744a8244180f856a09d27130beb8eb5d38 Mon Sep 17 00:00:00 2001 From: "Andy K. Massimino" Date: Sun, 1 Sep 2019 12:21:32 -0400 Subject: [PATCH] Add example for #69 --- test/issues/69/cpptemplate.vim | 11 +++++++++++ test/issues/69/template.cpp | 6 ++++++ 2 files changed, 17 insertions(+) create mode 100644 test/issues/69/cpptemplate.vim create mode 100644 test/issues/69/template.cpp diff --git a/test/issues/69/cpptemplate.vim b/test/issues/69/cpptemplate.vim new file mode 100644 index 0000000..93a7657 --- /dev/null +++ b/test/issues/69/cpptemplate.vim @@ -0,0 +1,11 @@ + +function! CppTemplate() + call matchup#util#append_match_words( + \ '\%(\s\@\|>\s\@!\)=\@!') +endfunction +if !exists('g:matchup_hotfix') + let g:matchup_hotfix = {} +endif +let g:matchup_hotfix.cpp = 'CppTemplate' +set matchpairs-=<:> + diff --git a/test/issues/69/template.cpp b/test/issues/69/template.cpp new file mode 100644 index 0000000..c60adb2 --- /dev/null +++ b/test/issues/69/template.cpp @@ -0,0 +1,6 @@ + typedef BOOST_DEDUCED_TYPENAME boost::conditional< + boost::is_signed::value, + boost::make_signed, + boost::type_identity + >::type no_cvr_prefinal_lazy_t; +