From 878d940369b71172cdf6ff1cfbb66743bb39528e Mon Sep 17 00:00:00 2001 From: Kiril Date: Sun, 19 May 2024 14:21:44 +0100 Subject: [PATCH] Update git symbols in Neotree --- lua/plugins/neotree.lua | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/lua/plugins/neotree.lua b/lua/plugins/neotree.lua index 79b8715..fecd197 100644 --- a/lua/plugins/neotree.lua +++ b/lua/plugins/neotree.lua @@ -54,7 +54,6 @@ return { "MunifTanjim/nui.nvim", }, config = function() - --vim.keymap.set("n", "", ":Neotree filesystem toggle left") vim.keymap.set("n", "", toggle, {}) require("neo-tree").setup({ filesystem = { @@ -69,6 +68,23 @@ return { }, }, }, + default_component_configs = { + git_status = { + symbols = { + -- Change type + added = "A", + modified = "M", + deleted = "D", + renamed = "R", + -- Status type + untracked = "U", + ignored = "X", + unstaged = "U", + staged = "S", + conflict = "", + }, + }, + }, }) end, }