simrat39 / symbols-outline.nvim

A tree like view for symbols in Neovim using the Language Server Protocol. Supports all your favourite languages.
MIT License
1.85k stars 100 forks source link

Show the scope #214

Open fidelski opened 1 year ago

fidelski commented 1 year ago

Thanks for this awesome plugin! The outline is really great.

However there is one thing I am missing and I am wondering whether this could be implemented - showing the scope of fields / functions etc. I work a lot with C++ and it would help to see the scope (private / protected / public) of fields and functions.

I think of something like in Tagbar: tb-scope

Public items are shown with a Prefix of '+', private members with '-' and protected items are prefixed with '#'.

Would something like this be possible?