mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-03 02:31:03 -08:00
Merge from origin/emacs-29
4520f09dd8; * admin/git-bisect-start: Update failing commits2569ede9c4Update to Org 9.6-81-g563a43d9ed736f0aruby-ts-mode: Remove some currently unused functions4561844720ruby-ts-mode: Highlight singleton method definitions and ...0562006da3Add ruby-ts-mode84e7c2fbc8Fix fontification of C++ reference return types (bug#60441)1864b65af6; Minor fix for treesit--install-language-grammar-1 (bug#...8994f87ad4Adjust function-call fontification in csharp-ts-mode (bug...411647a3f6; Fix NEWS.7b0b17df67Rewrite Antinews in ELisp manual for Emacs 29f12f72b0e0; * lisp/simple.el (primitive-undo): Clarify error messag...7fd822e7f5Update Antinews in the user manual for Emacs 29da77d70dee; * test/lisp/emacs-lisp/copyright-tests.el: Fix and futu...2baf9e107cFix shortdoc-tests failure with respect to regexp-opt-cha...5aeb8de32e; Fix copyright years in 2 more files. # Conflicts: # etc/NEWS
This commit is contained in:
commit
c209802f7b
27 changed files with 1639 additions and 351 deletions
|
|
@ -696,7 +696,7 @@ compilation and evaluation time conflicts."
|
|||
:feature 'expression
|
||||
'((conditional_expression (identifier) @font-lock-variable-name-face)
|
||||
(postfix_unary_expression (identifier)* @font-lock-variable-name-face)
|
||||
(assignment_expression (identifier) @font-lock-variable-name-face))
|
||||
(initializer_expression (assignment_expression left: (identifier) @font-lock-variable-name-face)))
|
||||
|
||||
:language 'c-sharp
|
||||
:feature 'bracket
|
||||
|
|
@ -764,8 +764,12 @@ compilation and evaluation time conflicts."
|
|||
(identifier) @font-lock-type-face)
|
||||
(type_argument_list
|
||||
(identifier) @font-lock-type-face)
|
||||
(generic_name
|
||||
(identifier) @font-lock-type-face)
|
||||
(type_argument_list
|
||||
(generic_name
|
||||
(identifier) @font-lock-type-face))
|
||||
(base_list
|
||||
(generic_name
|
||||
(identifier) @font-lock-type-face))
|
||||
(array_type
|
||||
(identifier) @font-lock-type-face)
|
||||
(cast_expression (identifier) @font-lock-type-face)
|
||||
|
|
@ -773,7 +777,12 @@ compilation and evaluation time conflicts."
|
|||
(type_parameter_constraints_clause
|
||||
target: (identifier) @font-lock-type-face)
|
||||
(type_of_expression (identifier) @font-lock-type-face)
|
||||
(object_creation_expression (identifier) @font-lock-type-face))
|
||||
(object_creation_expression
|
||||
type: (identifier) @font-lock-type-face)
|
||||
(object_creation_expression
|
||||
type: (generic_name (identifier) @font-lock-type-face))
|
||||
(as_expression right: (identifier) @font-lock-type-face)
|
||||
(as_expression right: (generic_name (identifier) @font-lock-type-face)))
|
||||
|
||||
:language 'c-sharp
|
||||
:feature 'definition
|
||||
|
|
@ -793,7 +802,6 @@ compilation and evaluation time conflicts."
|
|||
(record_declaration (identifier) @font-lock-type-face)
|
||||
(namespace_declaration (identifier) @font-lock-type-face)
|
||||
(base_list (identifier) @font-lock-type-face)
|
||||
(property_declaration (generic_name))
|
||||
(property_declaration
|
||||
type: (nullable_type) @font-lock-type-face
|
||||
name: (identifier) @font-lock-variable-name-face)
|
||||
|
|
@ -807,29 +815,10 @@ compilation and evaluation time conflicts."
|
|||
|
||||
(constructor_declaration name: (_) @font-lock-type-face)
|
||||
|
||||
(method_declaration type: (_) @font-lock-type-face)
|
||||
(method_declaration type: [(identifier) (void_keyword)] @font-lock-type-face)
|
||||
(method_declaration type: (generic_name (identifier) @font-lock-type-face))
|
||||
(method_declaration name: (_) @font-lock-function-name-face)
|
||||
|
||||
(invocation_expression
|
||||
(member_access_expression
|
||||
(generic_name (identifier) @font-lock-function-name-face)))
|
||||
(invocation_expression
|
||||
(member_access_expression
|
||||
((identifier) @font-lock-variable-name-face
|
||||
(identifier) @font-lock-function-name-face)))
|
||||
(invocation_expression
|
||||
(identifier) @font-lock-function-name-face)
|
||||
(invocation_expression
|
||||
(member_access_expression
|
||||
expression: (identifier) @font-lock-variable-name-face))
|
||||
(invocation_expression
|
||||
function: [(generic_name (identifier)) @font-lock-function-name-face
|
||||
(generic_name (type_argument_list
|
||||
["<"] @font-lock-bracket-face
|
||||
(identifier) @font-lock-type-face
|
||||
[">"] @font-lock-bracket-face)
|
||||
)])
|
||||
|
||||
(catch_declaration
|
||||
((identifier) @font-lock-type-face))
|
||||
(catch_declaration
|
||||
|
|
@ -837,13 +826,30 @@ compilation and evaluation time conflicts."
|
|||
(identifier) @font-lock-variable-name-face))
|
||||
|
||||
(variable_declaration (identifier) @font-lock-type-face)
|
||||
(variable_declaration (generic_name (identifier) @font-lock-type-face))
|
||||
(variable_declarator (identifier) @font-lock-variable-name-face)
|
||||
|
||||
(parameter type: (identifier) @font-lock-type-face)
|
||||
(parameter type: (generic_name (identifier) @font-lock-type-face))
|
||||
(parameter name: (identifier) @font-lock-variable-name-face)
|
||||
|
||||
(binary_expression (identifier) @font-lock-variable-name-face)
|
||||
(argument (identifier) @font-lock-variable-name-face))
|
||||
(lambda_expression (identifier) @font-lock-variable-name-face)
|
||||
|
||||
(declaration_expression type: (identifier) @font-lock-type-face)
|
||||
(declaration_expression name: (identifier) @font-lock-variable-name-face))
|
||||
|
||||
:language 'c-sharp
|
||||
:feature 'function
|
||||
'((invocation_expression
|
||||
function: (member_access_expression
|
||||
name: (identifier) @font-lock-function-name-face))
|
||||
(invocation_expression
|
||||
function: (identifier) @font-lock-function-name-face)
|
||||
(invocation_expression
|
||||
function: (member_access_expression
|
||||
name: (generic_name (identifier) @font-lock-function-name-face)))
|
||||
(invocation_expression
|
||||
function: (generic_name (identifier) @font-lock-function-name-face)))
|
||||
|
||||
:language 'c-sharp
|
||||
:feature 'escape-sequence
|
||||
|
|
@ -921,7 +927,7 @@ Key bindings:
|
|||
'(( comment definition)
|
||||
( keyword string type)
|
||||
( constant escape-sequence expression literal property)
|
||||
( bracket delimiter error)))
|
||||
( function bracket delimiter error)))
|
||||
|
||||
;; Imenu.
|
||||
(setq-local treesit-simple-imenu-settings
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue