[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/csharp-mode b27a3e4 373/459: More highlighting
From: |
ELPA Syncer |
Subject: |
[elpa] externals/csharp-mode b27a3e4 373/459: More highlighting |
Date: |
Sun, 22 Aug 2021 14:00:04 -0400 (EDT) |
branch: externals/csharp-mode
commit b27a3e484cf3d2ebc10a2b309fbe829cb8ad2564
Author: Theodor Thornhill <theo@thornhill.no>
Commit: Theodor Thornhill <theo@thornhill.no>
More highlighting
---
csharp-mode.el | 45 +++++++++++++++++++++++++++++++++++++++------
1 file changed, 39 insertions(+), 6 deletions(-)
diff --git a/csharp-mode.el b/csharp-mode.el
index 1f5921c..8025639 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -679,13 +679,46 @@ Key bindings:
;; (setq-local c-doc-comment-style '((csharp-mode . codedoc)))
;; (c-run-mode-hooks 'c-mode-common-hook 'csharp-mode-hook)
(setq tree-sitter-hl-default-patterns
- [(modifier) @keyword
- (identifier) @constant
- (comment) @comment
+ [(comment) @comment
+ (modifier) @keyword
+ [(real_literal) (integer_literal)] @number
+ (qualified_name (identifier) @type)
(using_directive) @keyword
- (string_literal) @string
- (interpolated_string_expression) @string
- (verbatim_string_literal) @string])
+ (implicit_type) @type
+ (predefined_type) @type
+ (boolean_literal) @type
+ (await_expression (identifier) @type) @keyword
+ ;; (invocation_expression)
+ (from_clause (identifier) @variable) @keyword
+ (group_clause)
+ (order_by_clause)
+ (select_clause)
+ (query_continuation (identifier) @variable) @keyword
+ (initializer_expression (identifier) @variable)
+ (member_access_expression (identifier) @function)
+ (type_argument_list
+ (identifier) @type)
+ (generic_name
+ (identifier) @type)
+ (name_equals (identifier) @type)
+ (anonymous_object_creation_expression)
+ (object_creation_expression (identifier) @type)
+ (character_literal) @string
+ [(string_literal) (verbatim_string_literal)
(interpolated_string_expression)] @string
+ (conditional_expression (identifier) @variable)
+ (class_declaration
+ name: (identifier) @type)
+ (field_declaration)
+ (constructor_declaration (identifier) @type)
+ (parameter (identifier) @variable)
+ (assignment_expression (identifier) @variable)
+ (preprocessor_directive) @constant
+ (preprocessor_call (identifier) @string)
+ (argument (identifier) @variable)
+ (array_type (identifier) @type)
+ (array_creation_expression)
+ (variable_declaration (identifier) @type)
+ (variable_declarator (identifier) @variable)])
(tree-sitter-hl-mode))
(provide 'csharp-mode)
- [elpa] externals/csharp-mode aa57925 347/459: Add badges to README, (continued)
- [elpa] externals/csharp-mode aa57925 347/459: Add badges to README, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 7741196 349/459: Merge pull request #195 from jcs-PR/badge, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 7f39946 351/459: Create build.yml, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 51361ab 355/459: Update build.yml, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 256a638 357/459: Update build.yml, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 2ce1ff3 360/459: Update build.yml, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 5b3eb9a 364/459: Really, really RIP travis, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 4916829 365/459: Update README.org, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 7d0cfaa 367/459: Fix incorrectly commited code!, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 998a022 371/459: Strings, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode b27a3e4 373/459: More highlighting,
ELPA Syncer <=
- [elpa] externals/csharp-mode 9a9c92a 374/459: Many, many more things, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 658adb2 376/459: Add support for namespace-declarations., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 11d92b9 379/459: Various fixes, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 58928af 383/459: Indent object creation expression, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode a90b875 384/459: Add yield and object init indentation rules, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode eb3e9de 385/459: Almost functional indentation, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 512c858 386/459: Start extracting defcustoms, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode f94e5a7 387/459: More extracting, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 323a028 388/459: More cleaning, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 84a5daa 389/459: Should not need to autoload c_sharp, ELPA Syncer, 2021/08/22