From e8537c9aec387f40b39176d012978b29013c1934 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Sat, 20 Jan 2024 16:47:00 +0100 Subject: [PATCH] fix statusline --- lua/custom/init.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lua/custom/init.lua b/lua/custom/init.lua index 754b5c0..13a9de4 100644 --- a/lua/custom/init.lua +++ b/lua/custom/init.lua @@ -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.numberwidth = 2 -- Minimum number of columns to use for the line number 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.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 - opt.showtabline = 3 -- Always show the tabs line - opt.laststatus = 3 -- Always show laststatus -else +if vim.g.started_by_firenvim == true then opt.showtabline = 1 -- Don't show tabline in firenvim, unless multitab opt.laststatus = 1 -- Don't show laststatus in firenvim end + opt.helpheight = 0 -- Disable help window resizing opt.winwidth = 30 -- Minimum width for active window opt.winminwidth = 1 -- Minimum width for inactive windows