2021-07-17 12:14:52 +01:00
|
|
|
|
local present, icons = pcall(require, "nvim-web-devicons")
|
|
|
|
|
if not present then
|
2021-08-16 08:49:09 +01:00
|
|
|
|
return
|
2021-07-15 16:43:17 +01:00
|
|
|
|
end
|
2021-07-09 04:44:04 +01:00
|
|
|
|
|
2021-08-22 08:49:15 +01:00
|
|
|
|
local colors = require("colors").get()
|
2021-07-09 04:44:04 +01:00
|
|
|
|
|
2021-07-15 16:43:17 +01:00
|
|
|
|
icons.setup {
|
2021-08-16 08:49:09 +01:00
|
|
|
|
override = {
|
2021-08-19 19:58:42 +01:00
|
|
|
|
c = {
|
|
|
|
|
icon = "",
|
|
|
|
|
color = colors.blue,
|
|
|
|
|
name = "c",
|
|
|
|
|
},
|
2021-08-16 08:49:09 +01:00
|
|
|
|
css = {
|
|
|
|
|
icon = "",
|
|
|
|
|
color = colors.blue,
|
|
|
|
|
name = "css",
|
|
|
|
|
},
|
2021-08-22 08:49:15 +01:00
|
|
|
|
deb = {
|
|
|
|
|
icon = "",
|
|
|
|
|
color = colors.cyan,
|
|
|
|
|
name = "deb",
|
2021-08-16 08:49:09 +01:00
|
|
|
|
},
|
2021-08-22 08:49:15 +01:00
|
|
|
|
Dockerfile = {
|
|
|
|
|
icon = "",
|
|
|
|
|
color = colors.cyan,
|
|
|
|
|
name = "Dockerfile",
|
2021-08-16 08:49:09 +01:00
|
|
|
|
},
|
2021-08-22 08:49:15 +01:00
|
|
|
|
html = {
|
|
|
|
|
icon = "",
|
|
|
|
|
color = colors.baby_pink,
|
|
|
|
|
name = "html",
|
2021-08-16 08:49:09 +01:00
|
|
|
|
},
|
2021-08-22 08:49:15 +01:00
|
|
|
|
jpeg = {
|
2021-08-16 08:49:09 +01:00
|
|
|
|
icon = "",
|
|
|
|
|
color = colors.dark_purple,
|
2021-08-22 08:49:15 +01:00
|
|
|
|
name = "jpeg",
|
2021-08-16 08:49:09 +01:00
|
|
|
|
},
|
|
|
|
|
jpg = {
|
|
|
|
|
icon = "",
|
|
|
|
|
color = colors.dark_purple,
|
|
|
|
|
name = "jpg",
|
|
|
|
|
},
|
2021-08-22 08:49:15 +01: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 08:49:09 +01: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 08:49:15 +01:00
|
|
|
|
png = {
|
|
|
|
|
icon = "",
|
|
|
|
|
color = colors.dark_purple,
|
|
|
|
|
name = "png",
|
2021-08-16 08:49:09 +01:00
|
|
|
|
},
|
|
|
|
|
py = {
|
|
|
|
|
icon = "",
|
|
|
|
|
color = colors.cyan,
|
|
|
|
|
name = "py",
|
|
|
|
|
},
|
2021-10-06 20:13:23 +01:00
|
|
|
|
["robots.txt"] = {
|
|
|
|
|
icon = "ﮧ",
|
|
|
|
|
color = colors.red,
|
|
|
|
|
name = "robots"
|
|
|
|
|
},
|
2021-08-16 08:49:09 +01:00
|
|
|
|
toml = {
|
|
|
|
|
icon = "",
|
|
|
|
|
color = colors.blue,
|
|
|
|
|
name = "toml",
|
|
|
|
|
},
|
2021-08-22 08:49:15 +01:00
|
|
|
|
ts = {
|
|
|
|
|
icon = "ﯤ",
|
|
|
|
|
color = colors.teal,
|
|
|
|
|
name = "ts",
|
2021-08-16 08:49:09 +01:00
|
|
|
|
},
|
2021-08-22 08:49:15 +01:00
|
|
|
|
rb = {
|
|
|
|
|
icon = "",
|
|
|
|
|
color = colors.pink,
|
|
|
|
|
name = "rb",
|
2021-08-16 08:49:09 +01:00
|
|
|
|
},
|
|
|
|
|
rpm = {
|
|
|
|
|
icon = "",
|
|
|
|
|
color = colors.orange,
|
|
|
|
|
name = "rpm",
|
|
|
|
|
},
|
2021-08-22 08:49:15 +01: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 08:49:09 +01:00
|
|
|
|
},
|
|
|
|
|
},
|
2021-07-15 16:43:17 +01:00
|
|
|
|
}
|