summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaulb23 <p_batty@hotmail.co.uk>2021-08-30 11:38:03 +0100
committerPaulb23 <p_batty@hotmail.co.uk>2021-08-30 11:38:03 +0100
commitcf36fb405c018b2cae6e6cdbc65dfc2fbc8cb328 (patch)
tree35bc3827ce5f2d0a81cf0077ad099f56f6417473
parent61d681cfb9a89f5c32a6c85e8f1cf53360c6eddb (diff)
syntax highlight c# verbatim string literal
-rw-r--r--modules/mono/csharp_script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp
index 978093b7d5..bc58b1b14f 100644
--- a/modules/mono/csharp_script.cpp
+++ b/modules/mono/csharp_script.cpp
@@ -337,7 +337,7 @@ void CSharpLanguage::get_comment_delimiters(List<String> *p_delimiters) const {
void CSharpLanguage::get_string_delimiters(List<String> *p_delimiters) const {
p_delimiters->push_back("' '"); // character literal
p_delimiters->push_back("\" \""); // regular string literal
- // Verbatim string literals (`@" "`) don't render correctly, so don't highlight them.
+ p_delimiters->push_back("@\" \""); // verbatim string literal
// Generic string highlighting suffices as a workaround for now.
}