fix(plugins): hide global statusline and remove bufferline sidebar offset
This commit is contained in:
1 parent
9f4de909e4
commit
92ede624f2
2 files changed
+14
-1
No files matched your search
@@ -239,7 +239,7 @@ return {
|
|||||||
clipboard = "unnamedplus",
|
clipboard = "unnamedplus",
|
||||||
title = true,
|
title = true,
|
||||||
titlestring = "",
|
titlestring = "",
|
||||||
laststatus = 3, -- global statusline (custom heirline in heirline.lua)
|
laststatus = 0, -- no statusline under the last window
|
||||||
},
|
},
|
||||||
g = {},
|
g = {},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -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,
|
||||||
|
}
|
||||||
Reference in new issue
Block a user