[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master bd10c3cfa2 5/7: Correctly fontify types in typeof() expression in
From: |
Yuan Fu |
Subject: |
master bd10c3cfa2 5/7: Correctly fontify types in typeof() expression in csharp-ts-mode |
Date: |
Sat, 26 Nov 2022 21:36:30 -0500 (EST) |
branch: master
commit bd10c3cfa29af24295f067b08a0c9d6a4fd02736
Author: Jostein Kjønigsen <jostein@kjonigsen.net>
Commit: Yuan Fu <casouri@gmail.com>
Correctly fontify types in typeof() expression in csharp-ts-mode
* lisp/progmodes/csharp-mode.el (csharp-ts-mode--font-lock-settings):
Add new pattern.
---
lisp/progmodes/csharp-mode.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/progmodes/csharp-mode.el b/lisp/progmodes/csharp-mode.el
index d794bc854f..a684e5d09d 100644
--- a/lisp/progmodes/csharp-mode.el
+++ b/lisp/progmodes/csharp-mode.el
@@ -812,7 +812,8 @@ compilation and evaluation time conflicts."
(cast_expression (identifier) @font-lock-type-face)
["operator"] @font-lock-type-face
(type_parameter_constraints_clause
- target: (identifier) @font-lock-type-face))
+ target: (identifier) @font-lock-type-face)
+ (type_of_expression (identifier) @font-lock-type-face))
:language 'c-sharp
:feature 'definition
:override t
- master updated (14d54212ea -> a3d8da2476), Yuan Fu, 2022/11/26
- master d884b43634 1/7: Partially fix some python tests (bug#59477), Yuan Fu, 2022/11/26
- master 447b9d48d9 3/7: Add treesit-font-lock-level, Yuan Fu, 2022/11/26
- master 3fe5fc3dc1 6/7: Make bash-ts-mode fall back to sh-mode if the file isn't in Bash, Yuan Fu, 2022/11/26
- master a3d8da2476 7/7: Make typescript-ts-mode not fallback to js-mode, Yuan Fu, 2022/11/26
- master cc086f37e8 2/7: Add default limit for tree-sitter recursive tree-traversing function, Yuan Fu, 2022/11/26
- master bd10c3cfa2 5/7: Correctly fontify types in typeof() expression in csharp-ts-mode,
Yuan Fu <=
- master 93c8220937 4/7: Reorganize treesit-font-lock-feaure-list's to the new level scheme, Yuan Fu, 2022/11/26