mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-11-22 07:24:52 +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
|
highlight = highlights.DIRECTORY_ICON
|
||||||
elseif node.type == "root" then
|
elseif node.type == "root" then
|
||||||
if node:is_expanded() then
|
if node:is_expanded() then
|
||||||
icon = "> "
|
icon = "| "
|
||||||
else
|
else
|
||||||
icon = "- "
|
icon = "> "
|
||||||
end
|
end
|
||||||
highlight = highlights.DIRECTORY_ICON
|
highlight = highlights.DIRECTORY_ICON
|
||||||
elseif node.type == "workspace" then
|
elseif node.type == "workspace" then
|
||||||
|
@ -66,9 +66,11 @@ M.name = function(config, node, state)
|
||||||
if node.type == "title" then
|
if node.type == "title" then
|
||||||
text = " :: " .. node.name .. " :: "
|
text = " :: " .. node.name .. " :: "
|
||||||
highlight = highlights.PREVIEW
|
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 .. " "
|
text = " " .. node.name .. " "
|
||||||
highlight = highlights.TAB_ACTIVE
|
highlight = highlights.FLOAT_TITLE
|
||||||
end
|
end
|
||||||
return {
|
return {
|
||||||
text = text,
|
text = text,
|
||||||
|
|
Loading…
Reference in a new issue