You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
config=function(_, opts)
-- Patch to use *mini.icons*require('lspsaga.util').icon_from_devicon=function(ft) returnrequire('mini.icons').get('filetype', ft) endrequire('lspsaga').setup(opts)
end,
It'll be better to make this a config option of course, like in bufferline's options.get_element_icon. bufferline supplies the arguments: directory, extension, filetype, path, type.
Is your feature request related to a problem? Please describe.
This icons library was released recently:
https://github.com/echasnovski/mini.icons
It seems to be better than:
https://github.com/nvim-tree/nvim-web-devicons
Describe the solution you'd like
It would be great if
lspsaga.nvim
also could support themini.icons
library.Describe alternatives you've considered
None
Additional context
The
mini.icons
library has already been integrated into popular Neovim distributions such as LazyVim, with great results.The text was updated successfully, but these errors were encountered: