diff options
| author | Yuan Fu | 2022-10-29 09:43:50 -0700 |
|---|---|---|
| committer | Yuan Fu | 2022-10-29 09:43:50 -0700 |
| commit | ce5ae0117e3ea009ccdd8d8f4c1365301d24f90b (patch) | |
| tree | e871797a6419107980a39d441a8593c7e21ecc28 /lisp/progmodes/python.el | |
| parent | bde8e87cb7b3be0e0bc9e72c3634f108570cac3e (diff) | |
| download | emacs-ce5ae0117e3ea009ccdd8d8f4c1365301d24f90b.tar.gz emacs-ce5ae0117e3ea009ccdd8d8f4c1365301d24f90b.zip | |
Refine handling of node at point in treesit-indent
* doc/lispref/modes.texi (Parser-based Indentation): Document the
semantic clearly.
* lisp/treesit.el (treesit-simple-indent-presets): Replace with
current-indentation.
(treesit--indent-1): Now NODE always starts at BOL, and parent is
always the smallest node above NODE that spans BOL.
(treesit-indent): Don't use save-excurtion, no one else does.
Diffstat (limited to 'lisp/progmodes/python.el')
0 files changed, 0 insertions, 0 deletions