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