aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJuri Linkov2025-01-11 20:28:43 +0200
committerJuri Linkov2025-01-11 20:28:43 +0200
commitdb4bf410f2bae6c77f2a0e660dcc680d73a18cd1 (patch)
tree0188dd2409b9c096b24abc15315f2ca3768b3d93 /src
parentfafcc8458e805e5c7d7785aa7e943bacfadcf79d (diff)
downloademacs-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