Skip to content

Commit 19e7031

Browse files
committed
fix(disable_tabline): fix recipe to remove any non-default showtabline setting
1 parent 8889253 commit 19e7031

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/content/docs/recipes/disable_tabline.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ return {
4444
"AstroNvim/astrocore",
4545
---@param opts AstroCoreOpts
4646
opts = function(_, opts)
47+
if vim.tbl_get(opts, "options", "opt", "showtabline") then
48+
opts.options.opt.showtabline = nil
49+
end
4750
for k, _ in pairs(opts.mappings.n) do
4851
if k:find("^<Leader>b") then
4952
opts.mappings.n[k] = false

0 commit comments

Comments
 (0)