override devicons stuff
This commit is contained in:
@@ -1,15 +1,12 @@
|
|||||||
return {
|
return {
|
||||||
"rachartier/tiny-devicons-auto-colors.nvim",
|
'rachartier/tiny-devicons-auto-colors.nvim',
|
||||||
dependencies = {
|
lazy = true,
|
||||||
"nvim-tree/nvim-web-devicons",
|
|
||||||
},
|
|
||||||
event = "VeryLazy",
|
|
||||||
|
|
||||||
config = function()
|
config = function()
|
||||||
require("tiny-devicons-auto-colors").setup {
|
require('tiny-devicons-auto-colors').setup({
|
||||||
cache = {
|
cache = {
|
||||||
enabled = true,
|
enabled = true,
|
||||||
path = vim.fn.stdpath "cache" .. "/tiny-devicons-auto-colors-cache.json",
|
path = vim.fn.stdpath('cache') .. '/tiny-devicons-auto-colors-cache.json',
|
||||||
},
|
},
|
||||||
precise_search = {
|
precise_search = {
|
||||||
enabled = true,
|
enabled = true,
|
||||||
@@ -17,6 +14,7 @@ return {
|
|||||||
precision = 20,
|
precision = 20,
|
||||||
threshold = 23,
|
threshold = 23,
|
||||||
},
|
},
|
||||||
}
|
autoreload = true,
|
||||||
|
})
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,41 @@
|
|||||||
|
return {
|
||||||
|
'nvim-tree/nvim-web-devicons',
|
||||||
|
dependencies = {
|
||||||
|
'rachartier/tiny-devicons-auto-colors.nvim',
|
||||||
|
},
|
||||||
|
lazy = true,
|
||||||
|
opts = {
|
||||||
|
override = {
|
||||||
|
zsh = {
|
||||||
|
icon = '',
|
||||||
|
color = '#428850',
|
||||||
|
cterm_color = '65',
|
||||||
|
name = 'Zsh',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
color_icons = true,
|
||||||
|
variant = 'dark',
|
||||||
|
override_by_filename = {
|
||||||
|
['.gitignore'] = {
|
||||||
|
icon = '',
|
||||||
|
color = '#f1502f',
|
||||||
|
name = 'Gitignore',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
override_by_extension = {
|
||||||
|
['log'] = {
|
||||||
|
icon = '',
|
||||||
|
color = '#81e043',
|
||||||
|
name = 'Log',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
override_by_operating_system = {
|
||||||
|
['apple'] = {
|
||||||
|
icon = '',
|
||||||
|
color = '#A2AAAD',
|
||||||
|
cterm_color = '248',
|
||||||
|
name = 'Apple',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user