diff options
| author | Juri Linkov | 2025-06-25 19:57:05 +0300 |
|---|---|---|
| committer | Juri Linkov | 2025-06-25 19:57:05 +0300 |
| commit | f3c755129f7d77bd6e18f5005f3c4034c170ea25 (patch) | |
| tree | 25c92aff1ab0a358b7633ef289a69e8f23949f70 /exec | |
| parent | 789a6b969345d6f9e0c8604bff8618d20a6cf536 (diff) | |
| download | emacs-f3c755129f7d77bd6e18f5005f3c4034c170ea25.tar.gz emacs-f3c755129f7d77bd6e18f5005f3c4034c170ea25.zip | |
Improve treesit settings for python-ts-mode (bug#73404).
* lisp/progmodes/python.el (python--thing-settings):
For the 'sexp' thing use all nodes except top-level
grouping nodes, comments and parens. Add the 'list' thing.
(python-ts-mode): Use setq-local for treesit-thing-settings.
Modify 'forward-sexp-function' and 'treesit-sexp-thing'
after calling 'treesit-major-mode-setup'.
Diffstat (limited to 'exec')
0 files changed, 0 insertions, 0 deletions