diff options
| author | Juri Linkov | 2024-12-19 09:27:28 +0200 |
|---|---|---|
| committer | Juri Linkov | 2024-12-19 09:27:28 +0200 |
| commit | d930d7f8651897dc3130ff16731751691566d490 (patch) | |
| tree | 680c6ca1103d569f9905efffb4e25acf33a5be4e /src/alloc.c | |
| parent | 3281f8615aefc08b47a99eb9761c0b630b053c58 (diff) | |
| download | emacs-d930d7f8651897dc3130ff16731751691566d490.tar.gz emacs-d930d7f8651897dc3130ff16731751691566d490.zip | |
New treesit thing 'sexp-list' (bug#73404)
* lisp/treesit.el (treesit-forward-list): New command.
(treesit-forward-sexp): Check the thing 'text' only when
'treesit-sexp-type-regexp' is nil.
(treesit-forward-sexp-list): New function.
(treesit-navigate-thing): Don't try moving to parent
when thing is 'sexp-list'.
(treesit-major-mode-setup): Set 'forward-sexp-function' to
'treesit-forward-sexp-list' when the 'sexp-list' thing is defined.
Diffstat (limited to 'src/alloc.c')
0 files changed, 0 insertions, 0 deletions