Namespace syntax match

This commit is contained in:
Kenneth Benzie 2017-01-28 05:33:13 +00:00
parent 816a10cff0
commit 69ff7c8bab

View File

@ -65,7 +65,7 @@ if !exists('cpp_no_delimiters')
" Match: nested namespace expressions: expr::
" ^^^^
syn match cppNestedName '\a\w*::' display contains=cppDelimiter
syn match cppNestedName '\w\+::' display contains=cppDelimiter
" Match: label: as a Label and public: protected: private: as a Statement
" ^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^