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 97 forks source link

[Feature request] Use lspkind icon set if it's installed #238

Open xuanhung1509 opened 8 months ago

xuanhung1509 commented 8 months ago

Could you support using icons from lspkind.nvim if it's installed (like aerial.nvim does)? That way, users do not have to specify manually.

hedyhli commented 7 months ago

Hello, I recently had to fork the repo due to temporary inactivity from the plugin author. (You can read about the decision here for details.)

I've added your requested feature to my fork, all you have to do is set symbols.icon_source = "lspkind" in the config. Note that you still need to use the icon mapping for specifying highlight groups, though. Feel free to try out my fork, but do take note on the disclaimer in the readme.