Skip to content

Commit 584922d

Browse files
authored
doc: correct table for git symbols to be within git_status table (#1278)
1 parent 953313e commit 584922d

File tree

1 file changed

+28
-24
lines changed

1 file changed

+28
-24
lines changed

doc/neo-tree.txt

Lines changed: 28 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,18 +1040,20 @@ the following properties:
10401040
>lua
10411041
require("neo-tree").setup({
10421042
default_component_configs = {
1043-
symbols = {
1044-
-- Change type
1045-
added = "✚",
1046-
deleted = "✖",
1047-
modified = "",
1048-
renamed = "󰁕",
1049-
-- Status type
1050-
untracked = "",
1051-
ignored = "",
1052-
unstaged = "󰄱",
1053-
staged = "",
1054-
conflict = "",
1043+
git_status = {
1044+
symbols = {
1045+
-- Change type
1046+
added = "✚",
1047+
deleted = "✖",
1048+
modified = "",
1049+
renamed = "󰁕",
1050+
-- Status type
1051+
untracked = "",
1052+
ignored = "",
1053+
unstaged = "󰄱",
1054+
staged = "",
1055+
conflict = "",
1056+
}
10551057
}
10561058
}
10571059
})
@@ -1073,18 +1075,20 @@ The following config will remove those change type symbols:
10731075
>lua
10741076
require("neo-tree").setup({
10751077
default_component_configs = {
1076-
symbols = {
1077-
-- Change type
1078-
added = "",
1079-
deleted = "",
1080-
modified = "",
1081-
renamed = "",
1082-
-- Status type
1083-
untracked = "",
1084-
ignored = "",
1085-
unstaged = "󰄱",
1086-
staged = "",
1087-
conflict = "",
1078+
git_status = {
1079+
symbols = {
1080+
-- Change type
1081+
added = "",
1082+
deleted = "",
1083+
modified = "",
1084+
renamed = "",
1085+
-- Status type
1086+
untracked = "",
1087+
ignored = "",
1088+
unstaged = "󰄱",
1089+
staged = "",
1090+
conflict = "",
1091+
}
10881092
}
10891093
}
10901094
})

0 commit comments

Comments
 (0)