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

    Add switch_expression
---
 csharp-tree-sitter.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/csharp-tree-sitter.el b/csharp-tree-sitter.el
index e4c6cb3..520d178 100644
--- a/csharp-tree-sitter.el
+++ b/csharp-tree-sitter.el
@@ -308,7 +308,8 @@
         expression_statement
         declaration_list
         attribute_argument_list
-        switch_body))
+        switch_body
+        switch_expression))
     (paren-indent
      ;; if parent node is one of these → indent to paren opener
      . (parenthesized_expression))

Reply via email to