From 9219d915aa713bcedd66ea38042c44df5f7169ad Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Fri, 23 Feb 2024 13:53:56 +0700 Subject: [PATCH] config(nvim): add more icon --- data/nvim/init.lua | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/data/nvim/init.lua b/data/nvim/init.lua index 657455b..2bd699b 100644 --- a/data/nvim/init.lua +++ b/data/nvim/init.lua @@ -326,14 +326,16 @@ require("lazy").setup({ color = "#519aba", name = "go", } + local icon_git = { + icon = "", + color = "#f1502f", + name = "Gitignore", + } require("nvim-web-devicons").setup({ override_by_filename = { - [".gitignore"] = { - icon = "", - color = "#f1502f", - name = "Gitignore", - }, + [".gitignore"] = icon_git, + [".gitmodules"] = icon_git, ["go.mod"] = icon_go, ["go.sum"] = icon_go, },