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

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

[elpa] externals/csharp-mode f1cd209 091/459: fontify var as a typeless


From: ELPA Syncer
Subject: [elpa] externals/csharp-mode f1cd209 091/459: fontify var as a typeless declaration
Date: Sun, 22 Aug 2021 13:59:03 -0400 (EDT)

branch: externals/csharp-mode
commit f1cd209a457dc34fcc5f6b6efc5178de56466045
Author: jesse_black <jesse.w.black@gmail.com>
Commit: jesse_black <jesse.w.black@gmail.com>

    fontify var as a typeless declaration
---
 csharp-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/csharp-mode.el b/csharp-mode.el
index 7db4db3..5183639 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -1286,7 +1286,7 @@ a square parentasis block [ ... ]."
 ;; This allows the classes after the : in the class declartion to be
 ;; fontified.
 (c-lang-defconst c-typeless-decl-kwds
-  csharp '(":"))
+  csharp '(":" "var"))
 
 ;; Sets up the enum to handle the list properly, and also the new
 ;; keyword to handle object initializers.  This requires a modified
@@ -1333,7 +1333,7 @@ a square parentasis block [ ... ]."
 (c-lang-defconst c-other-kwds
   csharp '("sizeof" "typeof" "is" "as" "yield" "extern"
            "where" "select" "in" "from" "let" "orderby" "ascending" 
"descending"
-          "await" "async" "var"))
+           "await" "async"))
 
 (c-lang-defconst c-overloadable-operators
   ;; EMCA-344, S14.2.1



reply via email to

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