]> git.eshelyaron.com Git - emacs.git/commit
Fix imenu for c-ts-mode (bug#60296)
authorYuan Fu <casouri@gmail.com>
Mon, 26 Dec 2022 09:01:41 +0000 (01:01 -0800)
committerYuan Fu <casouri@gmail.com>
Mon, 26 Dec 2022 09:47:56 +0000 (01:47 -0800)
commiteb268728376db081b61f47c635b7316938e63d5d
tree84643edbbc884232a2104ad0f4e2d09907ab18e5
parent8f68b6497ee17791c3a1084ebef164f11cb089c6
Fix imenu for c-ts-mode (bug#60296)

* lisp/progmodes/c-ts-mode.el (c-ts-mode--imenu-1): Use
c-ts-mode--defun-valid-p to filter out nested matches.
(c-ts-mode--defun-valid-p): Handle more types of nodes.
lisp/progmodes/c-ts-mode.el