feat(nvim): add icons for devicons
This commit is contained in:
parent
69a152ca94
commit
863b036bef
1 changed files with 46 additions and 0 deletions
|
@ -23,4 +23,50 @@ return {
|
|||
"nvim-tree/nvim-web-devicons",
|
||||
},
|
||||
},
|
||||
{
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
config = function()
|
||||
local devicons = require("nvim-web-devicons")
|
||||
local justfile = {
|
||||
icon = " ",
|
||||
name = "Justfile",
|
||||
color = "#dea584",
|
||||
}
|
||||
devicons.setup({
|
||||
override_by_extension = {
|
||||
["norg"] = {
|
||||
icon = " ",
|
||||
name = "Neorg",
|
||||
color = "#77aa99",
|
||||
},
|
||||
},
|
||||
override_by_filename = {
|
||||
[".ecrc"] = {
|
||||
icon = " ",
|
||||
name = "EditorConfigChecker",
|
||||
color = "#a6e3a1",
|
||||
},
|
||||
[".envrc"] = {
|
||||
icon = " ",
|
||||
name = "envrc",
|
||||
color = "#faf743",
|
||||
},
|
||||
[".editorconfig"] = {
|
||||
icon = " ",
|
||||
name = "EditorConfig",
|
||||
color = "#a6e3a1",
|
||||
},
|
||||
[".luacheckrc"] = {
|
||||
icon = " ",
|
||||
name = "LuacheckRC",
|
||||
color = "#51a0cf",
|
||||
},
|
||||
[".Justfile"] = justfile,
|
||||
[".justfile"] = justfile,
|
||||
["Justfile"] = justfile,
|
||||
["justfile"] = justfile,
|
||||
},
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue