Skip to content

Commit 52a6c8c

Browse files
committed
docs: update README with recommended component configs
1 parent 567176f commit 52a6c8c

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,25 @@ use {
5757
popup_border_style = "rounded",
5858
enable_git_status = true,
5959
enable_diagnostics = true,
60+
default_component_configs = {
61+
indent = {
62+
indent_size = 2,
63+
padding = 1, -- extra padding on left hand side
64+
with_markers = true,
65+
indent_marker = "",
66+
last_indent_marker = "",
67+
highlight = "NeoTreeIndentMarker",
68+
},
69+
icon = {
70+
folder_closed = "",
71+
folder_open = "",
72+
trailing_slash = false,
73+
default_icon = "*",
74+
},
75+
git_status = {
76+
highlight = "NeoTreeDimText", -- if you remove this the status will be colorful
77+
},
78+
},
6079
filesystem = {
6180
filters = { --These filters are applied to both browsing and searching
6281
show_hidden = false,

0 commit comments

Comments
 (0)