branch: externals/csharp-mode
commit 998a02285c6ed7b5ba6dcbe23f8ad0eb26087bcb
Author: Theodor Thornhill <t...@thornhill.no>
Commit: Theodor Thornhill <t...@thornhill.no>

    Strings
---
 csharp-mode.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/csharp-mode.el b/csharp-mode.el
index 39b3eb8..8215426 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -679,7 +679,9 @@ Key bindings:
   ;; (setq-local c-doc-comment-style '((csharp-mode . codedoc)))
   ;; (c-run-mode-hooks 'c-mode-common-hook 'csharp-mode-hook)
   (setq tree-sitter-hl-default-patterns
-        [["public"] @keyword])
+        [((string_literal) @string
+          (interpolated_string_expression) @string
+          (verbatim_string_literal) @string)])
   (tree-sitter-hl-mode))
 
 (provide 'csharp-mode)

Reply via email to