Fixed heirline astrobox dependency
This commit is contained in:
@@ -5,9 +5,6 @@ return {
|
|||||||
dependencies = { "astrobox" },
|
dependencies = { "astrobox" },
|
||||||
opts = {
|
opts = {
|
||||||
colorscheme = "astrobox",
|
colorscheme = "astrobox",
|
||||||
status = {
|
|
||||||
colors = require("astrobox.heirline").setup_colors,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ return {
|
|||||||
buffer_active = { bold = true, italic = false },
|
buffer_active = { bold = true, italic = false },
|
||||||
tab_active = { bold = true },
|
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,
|
init = function(self) self.bufnr = vim.api.nvim_get_current_buf() end,
|
||||||
fallthrough = false,
|
fallthrough = false,
|
||||||
{
|
{
|
||||||
|
-- Display file path when window is not active
|
||||||
condition = function() return not status.condition.is_active() end,
|
condition = function() return not status.condition.is_active() end,
|
||||||
{
|
{
|
||||||
-- Set display priority to hide when component is too big to fit
|
-- Set display priority to hide when component is too big to fit
|
||||||
@@ -87,7 +89,7 @@ return {
|
|||||||
filetype = false,
|
filetype = false,
|
||||||
hl = status.hl.get_attributes("winbarnc", true),
|
hl = status.hl.get_attributes("winbarnc", true),
|
||||||
surround = false,
|
surround = false,
|
||||||
update = "BufEnter",
|
update = { "BufEnter", "BufWrite" },
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
comp.breadcrumbs(),
|
comp.breadcrumbs(),
|
||||||
|
|||||||
Reference in New Issue
Block a user