cpp: Add injection for raw string literals (#13726)

Release Notes:

- N/A

Before: 

![Screenshot_20240701_231801](https://github.com/zed-industries/zed/assets/66138117/d0df7819-09e7-4a3b-949d-78e04ff63b23)

After:

![Screenshot_20240702_162856](https://github.com/zed-industries/zed/assets/66138117/943136e1-3b15-482e-bf45-2571cd212eaf)

---------

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
This commit is contained in:
Fernando Tagawa 2024-08-22 18:48:45 -03:00 committed by GitHub
parent b19356ac69
commit 26f2369fa6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View File

@ -137,6 +137,7 @@
":"
"::"
";"
(raw_string_delimiter)
] @punctuation.delimiter
[

View File

@ -5,3 +5,7 @@
(preproc_function_def
value: (preproc_arg) @content
(#set! "language" "c++"))
(raw_string_literal
delimiter: (raw_string_delimiter) @language
(raw_string_content) @content)