Skip to content

Commit

Permalink
LazyVim 10.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jo-project committed Nov 19, 2023
1 parent 629ee98 commit 6093ecc
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lua/lazyvim/plugins/editor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,19 @@ return {
local highlight = config.highlight or highlights.FILE_ICON

if node:get_depth() == 1 then
if node:is_expanded() then
if isStringInList(node.name) then
icon = " "
else
icon = ""..(config.folder_open or "-")
end
else
if isStringInList(node.name) then
icon = " "
else
icon = "" .. (config.folder_closed or "+")
end
end
icon = ""
return {
text = icon,
Expand Down

0 comments on commit 6093ecc

Please sign in to comment.