]> git.eshelyaron.com Git - emacs.git/commit
Minor change to tree-sitter imenu function of js-mode
authorYuan Fu <casouri@gmail.com>
Thu, 3 Nov 2022 18:44:35 +0000 (11:44 -0700)
committerYuan Fu <casouri@gmail.com>
Thu, 3 Nov 2022 18:44:35 +0000 (11:44 -0700)
commitf9f9b43df5bdadb54a1ba14e1624aa254d9f092d
tree0a50148c90e94c3d7ab76fe55caf82148a34ccf2
parent5416ae5990337f5fb2b3e0fbf9c4575508da808e
Minor change to tree-sitter imenu function of js-mode

If someone don’t like the labels, they can set them to empty strings.

* lisp/progmodes/js.el (js--treesit-imenu-type-alist): Add space.
(js--treesit-imenu-label): Remove space.
lisp/progmodes/js.el