mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-30 12:34:37 +02:00
fix(ui): use Snacks.util.color
instead of LazyVim.ui.fg
This commit is contained in:
parent
e389a5ada9
commit
6d774ba8f2
4 changed files with 15 additions and 13 deletions
|
@ -17,7 +17,7 @@ function M.status(icon, status)
|
|||
return status() ~= nil
|
||||
end,
|
||||
color = function()
|
||||
return LazyVim.ui.fg(colors[status()] or colors.ok)
|
||||
return { fg = Snacks.util.color(colors[status()] or colors.ok) }
|
||||
end,
|
||||
}
|
||||
end
|
||||
|
@ -146,7 +146,7 @@ function M.root_dir(opts)
|
|||
other = true,
|
||||
icon = " ",
|
||||
color = function()
|
||||
return LazyVim.ui.fg("Special")
|
||||
return { fg = Snacks.util.color("Special") }
|
||||
end,
|
||||
}, opts or {})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue