File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,10 @@ if !exists("cpp_no_cpp11")
46
46
syn keyword cppConstant ATOMIC_WCHAR_T_IS_LOCK_FREE ATOMIC_SHORT_IS_LOCK_FREE
47
47
syn keyword cppConstant ATOMIC_INT_IS_LOCK_FREE ATOMIC_LONG_IS_LOCK_FREE
48
48
syn keyword cppConstant ATOMIC_LLONG_IS_LOCK_FREE ATOMIC_POINTER_IS_LOCK_FREE
49
+
50
+ " A raw-string looks like R"d(...)d" where d is a (possibly empty) sequence of
51
+ " A-Z a-z 0-9 _ { } [ ] # < > % : ; . ? * + - / ^ & | ~ ! = , " '
52
+ syn region cppRawString matchgroup =cppRawDelim start =+ R"\z ([[:alnum:]_{}[\] #<>%:;.?*+\- /\^ &|~!=,"']*\) (+ end=+)\z 1"+ contains=@Spell
49
53
endif
50
54
51
55
" The minimum and maximum operators in GNU C++
@@ -69,6 +73,8 @@ if version >= 508 || !exists("did_cpp_syntax_inits")
69
73
HiLink cppStructure Structure
70
74
HiLink cppBoolean Boolean
71
75
HiLink cppConstant Constant
76
+ HiLink cppRawDelim cFormat
77
+ HiLink cppRawString String
72
78
delcommand HiLink
73
79
endif
74
80
You can’t perform that action at this time.
0 commit comments