refactor: merge devicons-auto-colors config
This commit is contained in:
@@ -1,20 +0,0 @@
|
|||||||
return {
|
|
||||||
'rachartier/tiny-devicons-auto-colors.nvim',
|
|
||||||
lazy = true,
|
|
||||||
|
|
||||||
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,
|
|
||||||
},
|
|
||||||
autoreload = true,
|
|
||||||
})
|
|
||||||
end,
|
|
||||||
}
|
|
||||||
@@ -1,7 +1,22 @@
|
|||||||
return {
|
return {
|
||||||
'nvim-tree/nvim-web-devicons',
|
'nvim-tree/nvim-web-devicons',
|
||||||
dependencies = {
|
dependencies = {
|
||||||
'rachartier/tiny-devicons-auto-colors.nvim',
|
{
|
||||||
|
'rachartier/tiny-devicons-auto-colors.nvim',
|
||||||
|
opts = {
|
||||||
|
cache = {
|
||||||
|
enabled = true,
|
||||||
|
path = vim.fn.stdpath('cache') .. '/tiny-devicons-auto-colors-cache.json',
|
||||||
|
},
|
||||||
|
precise_search = {
|
||||||
|
enabled = true,
|
||||||
|
iteration = 10,
|
||||||
|
precision = 20,
|
||||||
|
threshold = 23,
|
||||||
|
},
|
||||||
|
autoreload = true,
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
lazy = true,
|
lazy = true,
|
||||||
opts = {
|
opts = {
|
||||||
@@ -55,4 +70,4 @@ return {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user