Replies: 1 comment 8 replies
-
You can override https://github.com/folke/snacks.nvim/blob/main/lua/snacks/util/init.lua#L120-L154 {
"folke/snacks.nvim",
priority = 1000,
lazy = false,
config = function(_, opts)
require('snacks').setup(opts)
Snacks.util.icon = function(name, cat, opts)
-- Copy and modify from https://github.com/folke/snacks.nvim/blob/main/lua/snacks/util/init.lua#L120-L154
-- Example with `mini.icons`:
return require("mini.icons").get(cat or "file", name)
end
end,
} |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If I'm right then the picker uses
mini.icons
for programming language icons, well I did find theicons
field for picker, I can't seem to get how to override themini.icons
to something else?Beta Was this translation helpful? Give feedback.
All reactions