Update git symbols in Neotree
This commit is contained in:
parent
f20ddc687e
commit
878d940369
@ -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,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user