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

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

[elpa] externals/csharp-mode 383f020 375/459: Attributes and more interp


From: ELPA Syncer
Subject: [elpa] externals/csharp-mode 383f020 375/459: Attributes and more interpolation
Date: Sun, 22 Aug 2021 14:00:04 -0400 (EDT)

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

    Attributes and more interpolation
---
 csharp-mode.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/csharp-mode.el b/csharp-mode.el
index 56c3e17..3064bbc 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -714,7 +714,7 @@ Key bindings:
          (binary_expression (identifier) @variable (identifier) @variable)
          (binary_expression (identifier)* @variable)
          ;; strings
-         (interpolation (identifier)* @variable)
+         (interpolation (identifier) (interpolation_format_clause) @variable)
          (interpolation (identifier)* @variable)
          [(string_literal) (verbatim_string_literal) 
(interpolated_string_expression)] @string
 
@@ -759,6 +759,9 @@ Key bindings:
          (array_rank_specifier (identifier) @variable) 
          (array_type (identifier) @type)
          (array_creation_expression)
+         ;; Attributes
+         (attribute (identifier) @function (attribute_argument_list))
+         (attribute (identifier) @variable)
          ;; Casts
          (cast_expression (identifier) @type)
          (variable_declaration (identifier) @type)



reply via email to

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