02d545cd42
Just run :PackerSync, check https://nvchad.github.io/config/Custom%20config#local-themes and the section below it for newly added features
153 lines
3.0 KiB
Lua
153 lines
3.0 KiB
Lua
local present, devicons = pcall(require, "nvim-web-devicons")
|
||
|
||
if not present then
|
||
return
|
||
end
|
||
|
||
local colors = require("base16").get_colors("base_30")
|
||
|
||
local options = {
|
||
override = {
|
||
c = {
|
||
icon = "",
|
||
color = colors.blue,
|
||
name = "c",
|
||
},
|
||
css = {
|
||
icon = "",
|
||
color = colors.blue,
|
||
name = "css",
|
||
},
|
||
deb = {
|
||
icon = "",
|
||
color = colors.cyan,
|
||
name = "deb",
|
||
},
|
||
Dockerfile = {
|
||
icon = "",
|
||
color = colors.cyan,
|
||
name = "Dockerfile",
|
||
},
|
||
html = {
|
||
icon = "",
|
||
color = colors.baby_pink,
|
||
name = "html",
|
||
},
|
||
jpeg = {
|
||
icon = "",
|
||
color = colors.dark_purple,
|
||
name = "jpeg",
|
||
},
|
||
jpg = {
|
||
icon = "",
|
||
color = colors.dark_purple,
|
||
name = "jpg",
|
||
},
|
||
js = {
|
||
icon = "",
|
||
color = colors.sun,
|
||
name = "js",
|
||
},
|
||
kt = {
|
||
icon = "",
|
||
color = colors.orange,
|
||
name = "kt",
|
||
},
|
||
lock = {
|
||
icon = "",
|
||
color = colors.red,
|
||
name = "lock",
|
||
},
|
||
lua = {
|
||
icon = "",
|
||
color = colors.blue,
|
||
name = "lua",
|
||
},
|
||
mp3 = {
|
||
icon = "",
|
||
color = colors.white,
|
||
name = "mp3",
|
||
},
|
||
mp4 = {
|
||
icon = "",
|
||
color = colors.white,
|
||
name = "mp4",
|
||
},
|
||
out = {
|
||
icon = "",
|
||
color = colors.white,
|
||
name = "out",
|
||
},
|
||
png = {
|
||
icon = "",
|
||
color = colors.dark_purple,
|
||
name = "png",
|
||
},
|
||
py = {
|
||
icon = "",
|
||
color = colors.cyan,
|
||
name = "py",
|
||
},
|
||
["robots.txt"] = {
|
||
icon = "ﮧ",
|
||
color = colors.red,
|
||
name = "robots",
|
||
},
|
||
toml = {
|
||
icon = "",
|
||
color = colors.blue,
|
||
name = "toml",
|
||
},
|
||
ts = {
|
||
icon = "ﯤ",
|
||
color = colors.teal,
|
||
name = "ts",
|
||
},
|
||
ttf = {
|
||
icon = "",
|
||
color = colors.white,
|
||
name = "TrueTypeFont",
|
||
},
|
||
rb = {
|
||
icon = "",
|
||
color = colors.pink,
|
||
name = "rb",
|
||
},
|
||
rpm = {
|
||
icon = "",
|
||
color = colors.orange,
|
||
name = "rpm",
|
||
},
|
||
vue = {
|
||
icon = "﵂",
|
||
color = colors.vibrant_green,
|
||
name = "vue",
|
||
},
|
||
woff = {
|
||
icon = "",
|
||
color = colors.white,
|
||
name = "WebOpenFontFormat",
|
||
},
|
||
woff2 = {
|
||
icon = "",
|
||
color = colors.white,
|
||
name = "WebOpenFontFormat2",
|
||
},
|
||
xz = {
|
||
icon = "",
|
||
color = colors.sun,
|
||
name = "xz",
|
||
},
|
||
zip = {
|
||
icon = "",
|
||
color = colors.sun,
|
||
name = "zip",
|
||
},
|
||
},
|
||
}
|
||
|
||
-- check for any override
|
||
options = require("core.utils").load_override(options, "kyazdani42/nvim-web-devicons")
|
||
|
||
devicons.setup(options)
|