fix statusline

This commit is contained in:
Christoph J. Scherr 2024-01-20 16:47:00 +01:00
parent 382883afb6
commit e8537c9aec
Signed by: PlexSheep
GPG Key ID: 7CDD0B14851A08EF
1 changed files with 5 additions and 5 deletions

View File

@ -75,16 +75,16 @@ opt.scrolloff = 2 -- Keep at least n lines above/below
opt.sidescrolloff = 0 -- Keep at least n lines left/right opt.sidescrolloff = 0 -- Keep at least n lines left/right
opt.numberwidth = 2 -- Minimum number of columns to use for the line number opt.numberwidth = 2 -- Minimum number of columns to use for the line number
opt.number = true -- Show line numbers opt.number = true -- Show line numbers
opt.ruler = false -- Default status ruler opt.ruler = true -- Default status ruler
opt.list = true -- Show hidden characters opt.list = true -- Show hidden characters
opt.showtabline = 1 -- Don't change this, goes back to a vanilla vim default
opt.laststatus = 3 -- Always show laststatus
if vim.g.started_by_firenvim == false then if vim.g.started_by_firenvim == true then
opt.showtabline = 3 -- Always show the tabs line
opt.laststatus = 3 -- Always show laststatus
else
opt.showtabline = 1 -- Don't show tabline in firenvim, unless multitab opt.showtabline = 1 -- Don't show tabline in firenvim, unless multitab
opt.laststatus = 1 -- Don't show laststatus in firenvim opt.laststatus = 1 -- Don't show laststatus in firenvim
end end
opt.helpheight = 0 -- Disable help window resizing opt.helpheight = 0 -- Disable help window resizing
opt.winwidth = 30 -- Minimum width for active window opt.winwidth = 30 -- Minimum width for active window
opt.winminwidth = 1 -- Minimum width for inactive windows opt.winminwidth = 1 -- Minimum width for inactive windows