mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-11-21 23:14:54 +01:00
fix(neotree): new icons for workspace and color for btn
This commit is contained in:
parent
eb6913fc39
commit
f5a66f8ba7
1 changed files with 6 additions and 4 deletions
|
@ -31,9 +31,9 @@ M.icon = function(config, node, state)
|
|||
highlight = highlights.DIRECTORY_ICON
|
||||
elseif node.type == "root" then
|
||||
if node:is_expanded() then
|
||||
icon = "> "
|
||||
icon = "| "
|
||||
else
|
||||
icon = "- "
|
||||
icon = "> "
|
||||
end
|
||||
highlight = highlights.DIRECTORY_ICON
|
||||
elseif node.type == "workspace" then
|
||||
|
@ -66,9 +66,11 @@ M.name = function(config, node, state)
|
|||
if node.type == "title" then
|
||||
text = " :: " .. node.name .. " :: "
|
||||
highlight = highlights.PREVIEW
|
||||
elseif node.type == "root" or node.type == "button" then
|
||||
elseif node.type == "root" then
|
||||
highlight = highlights.FILTER_TERM
|
||||
elseif node.type == "button" then
|
||||
text = " " .. node.name .. " "
|
||||
highlight = highlights.TAB_ACTIVE
|
||||
highlight = highlights.FLOAT_TITLE
|
||||
end
|
||||
return {
|
||||
text = text,
|
||||
|
|
Loading…
Reference in a new issue