Add cpp explicit function template highlight

This commit is contained in:
Kenneth Benzie 2017-07-26 00:27:57 +01:00
parent e032ced9f4
commit 4f232a0f2d

View File

@ -58,6 +58,14 @@ if !exists('cpp_no_cpp14')
syn match cppNumber display '\<0b[01]\+\(u\=l\{0,2}\|ll\=u\)\>'
endif
if !exists('cpp_no_function')
" Match function expressions: expr<T>()
" ^^^^
syn match cppFunction '\h\w*\ze<.*>\s*(' display
hi default link cppFunction Function
endif
if !exists('cpp_no_delimiters')
" Match: delimiter expressions: <expr>, ex::pr
" ^ ^ ^^