Merge pull request #52246 from Paulb23/verbatim-string
Syntax highlight c# verbatim string literal
This commit is contained in:
commit
75be697817
|
@ -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.
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue