diff options
| author | Yuan Fu | 2022-10-28 17:54:43 -0700 |
|---|---|---|
| committer | Yuan Fu | 2022-10-28 17:54:43 -0700 |
| commit | 0c7a7df98e1fb0bc156707b379e4147fac97359a (patch) | |
| tree | ef517530077b515034b38833e7014623988b710c /lisp/progmodes/python.el | |
| parent | 434fc2a22e4fd65fd63018e9373cbf56b51f8ab2 (diff) | |
| download | emacs-0c7a7df98e1fb0bc156707b379e4147fac97359a.tar.gz emacs-0c7a7df98e1fb0bc156707b379e4147fac97359a.zip | |
Add treesit-indent-region
Now indenting a large buffer is reasonably fast.
* lisp/treesit.el (treesit-indent): Move meat to treesit--indent-1.
(treesit--indent-1)
(treesit-indent-region): New functions.
(treesit-major-mode-setup): Setup indent-region-function.
Diffstat (limited to 'lisp/progmodes/python.el')
0 files changed, 0 insertions, 0 deletions