branch: externals/csharp-mode commit f1cd209a457dc34fcc5f6b6efc5178de56466045 Author: jesse_black <jesse.w.bl...@gmail.com> Commit: jesse_black <jesse.w.bl...@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