config(nvim): add go icon

main
sudo pacman -Syu 2024-02-13 20:50:16 +07:00
parent 004b8f45c6
commit 5735238d58
1 changed files with 8 additions and 0 deletions

View File

@ -322,6 +322,12 @@ require("lazy").setup({
{
"kyazdani42/nvim-web-devicons",
config = function()
local icon_go = {
icon = "",
color = "#519aba",
name = "go",
}
require("nvim-web-devicons").setup({
override_by_filename = {
[".gitignore"] = {
@ -329,6 +335,8 @@ require("lazy").setup({
color = "#f1502f",
name = "Gitignore",
},
["go.mod"] = icon_go,
["go.sum"] = icon_go,
},
})
end,