2021-07-17 11:14:52 +00:00
|
|
|
local present, icons = pcall(require, "nvim-web-devicons")
|
|
|
|
if not present then
|
2021-08-16 07:49:09 +00:00
|
|
|
return
|
2021-07-15 15:43:17 +00:00
|
|
|
end
|
2021-07-09 03:44:04 +00:00
|
|
|
|
2021-08-22 07:49:15 +00:00
|
|
|
local colors = require("colors").get()
|
2021-07-09 03:44:04 +00:00
|
|
|
|
2021-07-15 15:43:17 +00:00
|
|
|
icons.setup {
|
2021-08-16 07:49:09 +00:00
|
|
|
override = {
|
2021-08-19 18:58:42 +00:00
|
|
|
c = {
|
|
|
|
icon = "",
|
|
|
|
color = colors.blue,
|
|
|
|
name = "c",
|
|
|
|
},
|
2021-08-16 07:49:09 +00:00
|
|
|
css = {
|
|
|
|
icon = "",
|
|
|
|
color = colors.blue,
|
|
|
|
name = "css",
|
|
|
|
},
|
2021-08-22 07:49:15 +00:00
|
|
|
deb = {
|
|
|
|
icon = "",
|
|
|
|
color = colors.cyan,
|
|
|
|
name = "deb",
|
2021-08-16 07:49:09 +00:00
|
|
|
},
|
2021-08-22 07:49:15 +00:00
|
|
|
Dockerfile = {
|
|
|
|
icon = "",
|
|
|
|
color = colors.cyan,
|
|
|
|
name = "Dockerfile",
|
2021-08-16 07:49:09 +00:00
|
|
|
},
|
2021-08-22 07:49:15 +00:00
|
|
|
html = {
|
|
|
|
icon = "",
|
|
|
|
color = colors.baby_pink,
|
|
|
|
name = "html",
|
2021-08-16 07:49:09 +00:00
|
|
|
},
|
2021-08-22 07:49:15 +00:00
|
|
|
jpeg = {
|
2021-08-16 07:49:09 +00:00
|
|
|
icon = "",
|
|
|
|
color = colors.dark_purple,
|
2021-08-22 07:49:15 +00:00
|
|
|
name = "jpeg",
|
2021-08-16 07:49:09 +00:00
|
|
|
},
|
|
|
|
jpg = {
|
|
|
|
icon = "",
|
|
|
|
color = colors.dark_purple,
|
|
|
|
name = "jpg",
|
|
|
|
},
|
2021-08-22 07:49:15 +00:00
|
|
|
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",
|
2021-08-16 07:49:09 +00:00
|
|
|
},
|
|
|
|
mp3 = {
|
|
|
|
icon = "",
|
|
|
|
color = colors.white,
|
|
|
|
name = "mp3",
|
|
|
|
},
|
|
|
|
mp4 = {
|
|
|
|
icon = "",
|
|
|
|
color = colors.white,
|
|
|
|
name = "mp4",
|
|
|
|
},
|
|
|
|
out = {
|
|
|
|
icon = "",
|
|
|
|
color = colors.white,
|
|
|
|
name = "out",
|
|
|
|
},
|
2021-08-22 07:49:15 +00:00
|
|
|
png = {
|
|
|
|
icon = "",
|
|
|
|
color = colors.dark_purple,
|
|
|
|
name = "png",
|
2021-08-16 07:49:09 +00:00
|
|
|
},
|
|
|
|
py = {
|
|
|
|
icon = "",
|
|
|
|
color = colors.cyan,
|
|
|
|
name = "py",
|
|
|
|
},
|
|
|
|
toml = {
|
|
|
|
icon = "",
|
|
|
|
color = colors.blue,
|
|
|
|
name = "toml",
|
|
|
|
},
|
2021-08-22 07:49:15 +00:00
|
|
|
ts = {
|
|
|
|
icon = "ﯤ",
|
|
|
|
color = colors.teal,
|
|
|
|
name = "ts",
|
2021-08-16 07:49:09 +00:00
|
|
|
},
|
2021-08-22 07:49:15 +00:00
|
|
|
rb = {
|
|
|
|
icon = "",
|
|
|
|
color = colors.pink,
|
|
|
|
name = "rb",
|
2021-08-16 07:49:09 +00:00
|
|
|
},
|
|
|
|
rpm = {
|
|
|
|
icon = "",
|
|
|
|
color = colors.orange,
|
|
|
|
name = "rpm",
|
|
|
|
},
|
2021-08-22 07:49:15 +00:00
|
|
|
vue = {
|
|
|
|
icon = "﵂",
|
|
|
|
color = colors.vibrant_green,
|
|
|
|
name = "vue",
|
|
|
|
},
|
|
|
|
xz = {
|
|
|
|
icon = "",
|
|
|
|
color = colors.sun,
|
|
|
|
name = "xz",
|
|
|
|
},
|
|
|
|
zip = {
|
|
|
|
icon = "",
|
|
|
|
color = colors.sun,
|
|
|
|
name = "zip",
|
2021-08-16 07:49:09 +00:00
|
|
|
},
|
|
|
|
},
|
2021-07-15 15:43:17 +00:00
|
|
|
}
|