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

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

[elpa] externals/csharp-mode a402402 421/459: Add lock_statement


From: ELPA Syncer
Subject: [elpa] externals/csharp-mode a402402 421/459: Add lock_statement
Date: Sun, 22 Aug 2021 14:00:14 -0400 (EDT)

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

    Add lock_statement
---
 csharp-tree-sitter.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/csharp-tree-sitter.el b/csharp-tree-sitter.el
index 447c66b..d909508 100644
--- a/csharp-tree-sitter.el
+++ b/csharp-tree-sitter.el
@@ -56,7 +56,7 @@
     "default" "typeof" "try" "catch" "finally" "break"
     "foreach" "in" "yield" "get" "set" "when" "as" "out"
     "is" "while" "continue" "this" "ref" "goto" "interface"
-    "from" "where" "select"
+    "from" "where" "select" "lock"
     ] @keyword
 
    ;; Linq
@@ -194,6 +194,9 @@
    ;; Arrow expression
    (arrow_expression_clause (identifier) @variable)
 
+   ;; Lock statement
+   (lock_statement (identifier) @variable)
+
    ;; Other
    (label_name) @variable
    (qualified_name (identifier) @type)



reply via email to

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