Update git symbols in Neotree

This commit is contained in:
Kiril 2024-05-19 14:21:44 +01:00
parent f20ddc687e
commit 878d940369

View File

@ -54,7 +54,6 @@ return {
"MunifTanjim/nui.nvim",
},
config = function()
--vim.keymap.set("n", "<C-h>", ":Neotree filesystem toggle left<CR>")
vim.keymap.set("n", "<C-h>", 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,
}