python-ts-mode: Highlight default parameters
* lisp/progmodes/python.el (python--treesit-settings): Highlight default parameters (bug#67703).
This commit is contained in:
parent
23c06c7c30
commit
eace9e1122
1 changed files with 2 additions and 1 deletions
|
@ -1114,7 +1114,8 @@ fontified."
|
|||
name: (identifier) @font-lock-function-name-face)
|
||||
(class_definition
|
||||
name: (identifier) @font-lock-type-face)
|
||||
(parameters (identifier) @font-lock-variable-name-face))
|
||||
(parameters (identifier) @font-lock-variable-name-face)
|
||||
(parameters (default_parameter name: (identifier) @font-lock-variable-name-face)))
|
||||
|
||||
:feature 'function
|
||||
:language 'python
|
||||
|
|
Loading…
Add table
Reference in a new issue