From 92ede624f290529386194ff65c93eda0287e2322 Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Fri, 16 Oct 2026 18:18:38 -0400 Subject: [PATCH] fix(plugins): hide global statusline and remove bufferline sidebar offset --- lua/plugins/astrocore.lua | 2 +- lua/plugins/bufferline.lua | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 lua/plugins/bufferline.lua diff --git a/lua/plugins/astrocore.lua b/lua/plugins/astrocore.lua index 6fd17a2..5a2e23c 100644 --- a/lua/plugins/astrocore.lua +++ b/lua/plugins/astrocore.lua @@ -239,7 +239,7 @@ return { clipboard = "unnamedplus", title = true, titlestring = "", - laststatus = 3, -- global statusline (custom heirline in heirline.lua) + laststatus = 0, -- no statusline under the last window }, g = {}, }, diff --git a/lua/plugins/bufferline.lua b/lua/plugins/bufferline.lua new file mode 100644 index 0000000..6d3103a --- /dev/null +++ b/lua/plugins/bufferline.lua @@ -0,0 +1,13 @@ +--- bufferline.nvim overrides on top of the astrocommunity spec +--- @module plugins.bufferline + +---@type LazySpec +return { + "akinsho/bufferline.nvim", + opts = function(_, opts) + -- the community spec reserves a "Neo-tree" titled offset over the sidebar; + -- drop it so tabs start at the far left + opts.options = opts.options or {} + opts.options.offsets = nil + end, +}