diff options
| author | Maciej Kalandyk | 2023-12-11 01:15:34 +0200 |
|---|---|---|
| committer | Dmitry Gutov | 2023-12-11 01:34:41 +0200 |
| commit | eace9e1122601bdc2f7f03228816198ce726f8fc (patch) | |
| tree | eeb7b980d360fd43753fc34efb87602cc91f3a83 /lisp/progmodes/python.el | |
| parent | 23c06c7c3080d83ae0eee70c70fb50587339a63e (diff) | |
| download | emacs-eace9e1122601bdc2f7f03228816198ce726f8fc.tar.gz emacs-eace9e1122601bdc2f7f03228816198ce726f8fc.zip | |
python-ts-mode: Highlight default parameters
* lisp/progmodes/python.el (python--treesit-settings):
Highlight default parameters (bug#67703).
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index a7944576196..7c5c20608bd 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -1114,7 +1114,8 @@ fontified." | |||
| 1114 | name: (identifier) @font-lock-function-name-face) | 1114 | name: (identifier) @font-lock-function-name-face) |
| 1115 | (class_definition | 1115 | (class_definition |
| 1116 | name: (identifier) @font-lock-type-face) | 1116 | name: (identifier) @font-lock-type-face) |
| 1117 | (parameters (identifier) @font-lock-variable-name-face)) | 1117 | (parameters (identifier) @font-lock-variable-name-face) |
| 1118 | (parameters (default_parameter name: (identifier) @font-lock-variable-name-face))) | ||
| 1118 | 1119 | ||
| 1119 | :feature 'function | 1120 | :feature 'function |
| 1120 | :language 'python | 1121 | :language 'python |