diff options
| author | Juri Linkov | 2025-01-11 20:28:43 +0200 |
|---|---|---|
| committer | Juri Linkov | 2025-01-11 20:28:43 +0200 |
| commit | db4bf410f2bae6c77f2a0e660dcc680d73a18cd1 (patch) | |
| tree | 0188dd2409b9c096b24abc15315f2ca3768b3d93 /src | |
| parent | fafcc8458e805e5c7d7785aa7e943bacfadcf79d (diff) | |
| download | emacs-db4bf410f2bae6c77f2a0e660dcc680d73a18cd1.tar.gz emacs-db4bf410f2bae6c77f2a0e660dcc680d73a18cd1.zip | |
Improve treesit list navigation support for #if/#endif (bug#73404)
* lisp/treesit.el (treesit--forward-list-with-default): Improve to
better support the case when point is inside an opening/closing node
with a name longer than 1 character such as "#if" and "#endif".
(treesit-navigate-thing): No need to check for thing 'list'
since list commands now use other functions.
* lisp/progmodes/c-ts-mode.el (c-ts-mode--thing-settings): Add
more preproc nodes such as #if/#endif and #ifdef/#endif and their
variants to the 'list' thing.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions