On Mon, Dec 11, 2023 at 7:24 PM Dmitry Gutov <dmi...@gutov.dev> wrote: > > It's no invention, it's docstring syntax for reference to a method.
In Ruby right? > But if the LS will produce distinct strings, good. All imenu backends, at least all the ones I've seen, produce trees, not strings. If you collect all the paths from the root to all the nodes into lists and make strings thereof, the resulting set will always be a distinct strings. So I don't understand the problem you were surfacing: any particular imenu backend in mind? João