emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/csharp-mode 7d4af0d 425/459: Add with_expression


From: ELPA Syncer
Subject: [elpa] externals/csharp-mode 7d4af0d 425/459: Add with_expression
Date: Sun, 22 Aug 2021 14:00:15 -0400 (EDT)

branch: externals/csharp-mode
commit 7d4af0d7adf93b6553d2c9b27f0682ec203a24b3
Author: Theodor Thornhill <theo@thornhill.no>
Commit: Theodor Thornhill <theo@thornhill.no>

    Add with_expression
---
 csharp-tree-sitter.el | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/csharp-tree-sitter.el b/csharp-tree-sitter.el
index f01e1ae..83a7ef7 100644
--- a/csharp-tree-sitter.el
+++ b/csharp-tree-sitter.el
@@ -59,6 +59,7 @@
     "foreach" "in" "yield" "get" "set" "when" "as" "out"
     "is" "while" "continue" "this" "ref" "goto" "interface"
     "from" "where" "select" "lock" "base" "record" "init"
+    "with"
     ] @keyword
 
    ;; Linq
@@ -87,6 +88,11 @@
    ;; Record
    (record_declaration (identifier) @type)
 
+   (with_expression
+    (with_initializer_expression
+     (simple_assignment_expression
+      (identifier) @variable)))
+
    ;; Namespace
    (namespace_declaration
     name: (identifier) @type)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]