From: Randy Taylor <dev@rjt.dev>
To: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Cc: Yuan Fu <casouri@gmail.com>
Subject: Re: feature/tree-sitter 908aab6144: Improve tree-sitter imenu for c-mode and js-mode
Date: Sun, 13 Nov 2022 03:24:21 +0000 [thread overview]
Message-ID: <wtAxmUYuK8swH6krDqpJQaNaHakXssv-4dfSjJv4Vi6bfcnguP-r4g5Zu_iadjaOxMa6jVCSE4aPwc3VImArKkh3HLsOfyRftPeVQyVuRXE=@rjt.dev> (raw)
[-- Attachment #1: Type: text/plain, Size: 495 bytes --]
> Instead of a flat list, now categorize imenu entries into categories like "Function", "Variable", "Class", etc.
Can this be made an option? I prefer a flat list.
I don't know how it looked before, but something like:
Struct structName
Field/structName fieldA
Field/structName fieldB
Function func1
Function func2
would be even better (that's what eglot shows on a golang buffer).
BTW, typo on the js change (should be Variable):
> + ("Varieable" . ,(js--treesit-imenu-1 var-tree))
Thanks.
[-- Attachment #2: Type: text/html, Size: 2080 bytes --]
next reply other threads:[~2022-11-13 3:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-13 3:24 Randy Taylor [this message]
2022-11-13 3:50 ` feature/tree-sitter 908aab6144: Improve tree-sitter imenu for c-mode and js-mode Stefan Kangas
2022-11-13 6:51 ` Yuan Fu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='wtAxmUYuK8swH6krDqpJQaNaHakXssv-4dfSjJv4Vi6bfcnguP-r4g5Zu_iadjaOxMa6jVCSE4aPwc3VImArKkh3HLsOfyRftPeVQyVuRXE=@rjt.dev' \
--to=dev@rjt.dev \
--cc=casouri@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.