Add cpp explicit function template highlight
This commit is contained in:
parent
e032ced9f4
commit
4f232a0f2d
@ -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
|
||||
" ^ ^ ^^
|
||||
|
Loading…
x
Reference in New Issue
Block a user