all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefankangas@gmail.com>
To: Randy Taylor <dev@rjt.dev>, "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: Sat, 12 Nov 2022 19:50:53 -0800	[thread overview]
Message-ID: <CADwFkmk_KR_3K6Yz59ZPPZvKt7F-G8FuFhDoU1to9q-BtpV3XQ@mail.gmail.com> (raw)
In-Reply-To: <wtAxmUYuK8swH6krDqpJQaNaHakXssv-4dfSjJv4Vi6bfcnguP-r4g5Zu_iadjaOxMa6jVCSE4aPwc3VImArKkh3HLsOfyRftPeVQyVuRXE=@rjt.dev>

Randy Taylor <dev@rjt.dev> writes:

>> 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).

Me too.  Completing over a flat list tends to work much better with the
completion framework I use (ivy).



  reply	other threads:[~2022-11-13  3:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-13  3:24 feature/tree-sitter 908aab6144: Improve tree-sitter imenu for c-mode and js-mode Randy Taylor
2022-11-13  3:50 ` Stefan Kangas [this message]
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=CADwFkmk_KR_3K6Yz59ZPPZvKt7F-G8FuFhDoU1to9q-BtpV3XQ@mail.gmail.com \
    --to=stefankangas@gmail.com \
    --cc=casouri@gmail.com \
    --cc=dev@rjt.dev \
    --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.