Fixed heirline astrobox dependency

This commit is contained in:
2024-02-21 16:58:47 +01:00
parent 3c6dcc696a
commit 6b8778aa12
2 changed files with 3 additions and 4 deletions

View File

@@ -5,9 +5,6 @@ return {
dependencies = { "astrobox" },
opts = {
colorscheme = "astrobox",
status = {
colors = require("astrobox.heirline").setup_colors,
},
},
},
{

View File

@@ -8,6 +8,7 @@ return {
buffer_active = { bold = true, italic = false },
tab_active = { bold = true },
},
colors = function(colors) return require("astrobox.heirline").setup_colors(colors) end,
},
},
},
@@ -55,6 +56,7 @@ return {
init = function(self) self.bufnr = vim.api.nvim_get_current_buf() end,
fallthrough = false,
{
-- Display file path when window is not active
condition = function() return not status.condition.is_active() end,
{
-- Set display priority to hide when component is too big to fit
@@ -87,7 +89,7 @@ return {
filetype = false,
hl = status.hl.get_attributes("winbarnc", true),
surround = false,
update = "BufEnter",
update = { "BufEnter", "BufWrite" },
}),
},
comp.breadcrumbs(),