2023-02-27 08:18:09 +07:00
|
|
|
local web_devicons_ok, web_devicons = pcall(require, "nvim-web-devicons")
|
|
|
|
if not web_devicons_ok then
|
2023-01-15 00:17:41 +07:00
|
|
|
return
|
|
|
|
end
|
2023-02-27 08:18:09 +07:00
|
|
|
|
|
|
|
local material_icon_ok, material_icon = pcall(require, "nvim-material-icon")
|
|
|
|
if not material_icon_ok then
|
|
|
|
return
|
|
|
|
end
|
2023-03-01 22:16:37 +07:00
|
|
|
material_icon.setup({
|
|
|
|
override = {
|
|
|
|
["mjs"] = {
|
|
|
|
icon = "",
|
|
|
|
color = "#efd81d",
|
|
|
|
cterm_color = "220",
|
|
|
|
name = "Mjs",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
color_icons = true,
|
|
|
|
default = true,
|
|
|
|
})
|
2023-02-27 08:18:09 +07:00
|
|
|
|
|
|
|
web_devicons.setup({
|
|
|
|
override = material_icon.get_icons(),
|
|
|
|
})
|