8000 Merge pull request #32 from rburny/patch-1 · ChaiScript/vim-cpp@98eb6f6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 98eb6f6

Browse files
committed
Merge pull request vim-jp#32 from rburny/patch-1
Add "string" to cppRawDelimiter group name
2 parents e56aca6 + 0911af4 commit 98eb6f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

syntax/cpp.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ if !exists("cpp_no_cpp11")
4646
syn keyword cppConstant ATOMIC_WCHAR_T_LOCK_FREE ATOMIC_SHORT_LOCK_FREE
4747
syn keyword cppConstant ATOMIC_INT_LOCK_FREE ATOMIC_LONG_LOCK_FREE
4848
syn keyword cppConstant ATOMIC_LLONG_LOCK_FREE ATOMIC_POINTER_LOCK_FREE
49-
syn region cppRawString matchgroup=cppRawDelimiter start=+\%(u8\|[uLU]\)\=R"\z([[:alnum:]_{}[\]#<>%:;.?*\+\-/\^&|~!=,"']\{,16}\)(+ end=+)\z1"+ contains=@Spell
49+
syn region cppRawString matchgroup=cppRawStringDelimiter start=+\%(u8\|[uLU]\)\=R"\z([[:alnum:]_{}[\]#<>%:;.?*\+\-/\^&|~!=,"']\{,16}\)(+ end=+)\z1"+ contains=@Spell
5050
endif
5151

5252
" The minimum and maximum operators in GNU C++
@@ -70,7 +70,7 @@ if version >= 508 || !exists("did_cpp_syntax_inits")
7070
HiLink cppStructure Structure
7171
HiLink cppBoolean Boolean
7272
HiLink cppConstant Constant
73-
HiLink cppRawDelimiter Delimiter
73+
HiLink cppRawStringDelimiter Delimiter
7474
HiLink cppRawString String
7575
delcommand HiLink
7676
endif

0 commit comments

Comments
 (0)
0