aerial.nvim icon indicating copy to clipboard operation
aerial.nvim copied to clipboard

Show symbol details

Open Nekketsu opened this issue 2 years ago • 1 comments

In Symbols-outline there is a configuration show_symbol_details = false used to show underlying text of the node image

In Aerial I cannot find this functionality, and it shows like this: image

I think it is an useful feature, because it allows to navigate using the symbols. For example, when there is a function, I can see the name of the function, so I can jump directly to the one I am looking for.

Is it something similar in Aerial? I couldn't find it. Otherwise, you think it's an interesting feature to be implemented?

Thank you!

Nekketsu avatar Oct 14 '23 01:10 Nekketsu

I think that for most languages both the treesitter and LSP backends do a good job of showing the real names of things just from the symbol information, so this feature seems very conditionally useful. I would be open to reviewing a PR for this, but I would only be inclined to merge it if it can be done without adding significant complexity.

If you haven't yet, you may want to try the treesitter backend for lua. It doesn't support quite as many symbol types (though more can be added easily), but it may capture the names better.

stevearc avatar Oct 14 '23 18:10 stevearc