diff options
author | Max Hilbrunner <mhilbrunner@users.noreply.github.com> | 2021-09-08 14:48:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-08 14:48:22 +0200 |
commit | 75be697817c2df558d201e3a1d059d912abf5bc9 (patch) | |
tree | dd68858ffefc1c1c0c0530bea897c94957cbd91f /modules | |
parent | fd0a2b6cde85d737dbe9155b84c363732b8274e6 (diff) | |
parent | cf36fb405c018b2cae6e6cdbc65dfc2fbc8cb328 (diff) |
Merge pull request #52246 from Paulb23/verbatim-string
Syntax highlight c# verbatim string literal
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mono/csharp_script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp index 98519707a9..3437dbd194 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. } |