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

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

[elpa] externals/csharp-mode 5ac7484 392/459: Add back better support fo


From: ELPA Syncer
Subject: [elpa] externals/csharp-mode 5ac7484 392/459: Add back better support for interfaces
Date: Sun, 22 Aug 2021 14:00:08 -0400 (EDT)

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

    Add back better support for interfaces
---
 csharp-mode.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/csharp-mode.el b/csharp-mode.el
index 4a7f88b..93a046d 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -235,7 +235,7 @@ Key bindings:
                 "return" "await" "struct" "enum" "switch" "case"
                 "default" "typeof" "try" "catch" "finally" "break"
                 "foreach" "in" "yield" "get" "set" "when" "as" "out"
-                "is" "while" "continue" "this" "ref" "goto"
+                "is" "while" "continue" "this" "ref" "goto" "interface"
                 ] @keyword
 
                   ;; Linq
@@ -254,6 +254,10 @@ Key bindings:
                (enum_member_declaration (identifier) @variable)
                (enum_declaration (identifier) @type)
 
+               ;; Interface
+               (interface_declaration
+                name: (identifier) @type)
+
                ;; Struct
                (struct_declaration (identifier) @type)
 



reply via email to

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