summaryrefslogtreecommitdiff
path: root/lua/plugins/neo-tree.lua
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2024-02-03 02:53:32 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2024-02-03 02:53:32 -0600
commit7f79a6ef4be13a4511dfa8a06c9cedb9dcb3c67a (patch)
tree0a1e37da334a0af3423345534a3bff8bb846720e /lua/plugins/neo-tree.lua
parent143e63831568a91a0a7e614dc1be8d9ac25c0750 (diff)
refactor: general formatting
Diffstat (limited to 'lua/plugins/neo-tree.lua')
-rw-r--r--lua/plugins/neo-tree.lua23
1 files changed, 12 insertions, 11 deletions
diff --git a/lua/plugins/neo-tree.lua b/lua/plugins/neo-tree.lua
index 346fd5b..c95eefb 100644
--- a/lua/plugins/neo-tree.lua
+++ b/lua/plugins/neo-tree.lua
@@ -88,8 +88,8 @@ return {
},
git_status = {
symbols = {
- renamed = "󰁕",
- unstaged = "󰄱",
+ renamed = "󰁕",
+ unstaged = "󰄱",
},
},
},
@@ -185,17 +185,18 @@ return {
client_filters = "first",
renderers = {
root = {
- {"indent"},
- {"icon", default="C" },
- {"name", zindex = 10},
+ { "indent" },
+ { "icon", default = "C" },
+ { "name", zindex = 10 },
},
symbol = {
- {"indent", with_expanders = true},
- {"kind_icon", default="?" },
- {"container",
+ { "indent", with_expanders = true },
+ { "kind_icon", default = "?" },
+ {
+ "container",
content = {
- {"name", zindex = 10},
- {"kind_name", zindex = 20, align = "right"},
+ { "name", zindex = 10 },
+ { "kind_name", zindex = 20, align = "right" },
}
}
},
@@ -281,7 +282,7 @@ return {
tabs_max_width = nil,
padding = 0,
-- Default separators, wanted to use powerline icons, but the coloring is all wrong
- separator = { left = "▏", right= "▕" },
+ separator = { left = "▏", right = "▕" },
separator_active = nil,
show_separator_on_edge = false,
highlight_tab = "NeoTreeTabInactive",