mirror of
https://github.com/itme-brain/nvim.git
synced 2026-03-23 17:39:43 -04:00
neotree: use text symbols for git status
This commit is contained in:
parent
5c224976d8
commit
9860b8f0ab
1 changed files with 15 additions and 0 deletions
|
|
@ -9,6 +9,21 @@ return {
|
||||||
config = function()
|
config = function()
|
||||||
require("neo-tree").setup({
|
require("neo-tree").setup({
|
||||||
enable_diagnostics = false,
|
enable_diagnostics = false,
|
||||||
|
default_component_configs = {
|
||||||
|
git_status = {
|
||||||
|
symbols = {
|
||||||
|
added = "+",
|
||||||
|
modified = "~",
|
||||||
|
deleted = "-",
|
||||||
|
renamed = ">",
|
||||||
|
untracked = "?",
|
||||||
|
ignored = "!",
|
||||||
|
unstaged = "U",
|
||||||
|
staged = "S",
|
||||||
|
conflict = "C",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
window = {
|
window = {
|
||||||
position = "left",
|
position = "left",
|
||||||
width = 20,
|
width = 20,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue