add auto color adjustment to make devicons look a bit nicer with themes
This commit is contained in:
@@ -0,0 +1,22 @@
|
|||||||
|
return {
|
||||||
|
"rachartier/tiny-devicons-auto-colors.nvim",
|
||||||
|
dependencies = {
|
||||||
|
"nvim-tree/nvim-web-devicons",
|
||||||
|
},
|
||||||
|
event = "VeryLazy",
|
||||||
|
|
||||||
|
config = function()
|
||||||
|
require("tiny-devicons-auto-colors").setup {
|
||||||
|
cache = {
|
||||||
|
enabled = true,
|
||||||
|
path = vim.fn.stdpath "cache" .. "/tiny-devicons-auto-colors-cache.json",
|
||||||
|
},
|
||||||
|
precise_search = {
|
||||||
|
enabled = true,
|
||||||
|
iteration = 10,
|
||||||
|
precision = 20,
|
||||||
|
threshold = 23,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
end,
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user