branch: externals/csharp-mode commit 6f0bf6b1a24892fb8c1ba357a2f595180422d111 Author: Theodor Thornhill <t...@thornhill.no> Commit: Theodor Thornhill <t...@thornhill.no>
Add escape_sequence to strings --- csharp-tree-sitter.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/csharp-tree-sitter.el b/csharp-tree-sitter.el index 3ab0451..b4c96c0 100644 --- a/csharp-tree-sitter.el +++ b/csharp-tree-sitter.el @@ -45,6 +45,7 @@ (comment) @comment (modifier) @keyword (this_expression) @keyword + (escape_sequence) @keyword ;; Literals [(real_literal) (integer_literal)] @number @@ -57,8 +58,8 @@ (character_literal) "\"" "$\"" - "@$\""] @string - + "@$\"" + "$@\""] @string ;; Keywords ["using" "namespace" "class" "if" "else" "throw" "new" "for"