Namespace syntax match

This commit is contained in:
Kenneth Benzie 2017-01-28 05:33:13 +00:00
parent e635d62e0c
commit 504b7f110f

View File

@ -65,7 +65,7 @@ if !exists('cpp_no_delimiters')
" Match: nested namespace expressions: expr:: " 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 " Match: label: as a Label and public: protected: private: as a Statement
" ^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^ " ^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^