fixed scrolloff for real this time, but no more scrolleof :(

This commit is contained in:
2026-05-02 10:46:21 +01:00
parent f5fb5c83d8
commit 98c809990b
2 changed files with 15 additions and 14 deletions

View File

@@ -40,7 +40,8 @@ vim.opt.incsearch = true
vim.opt.wrap = false
-- Scrolloff
vim.wo.scrolloff = math.floor(vim.o.lines / 2) - 3
local scrolloff = math.floor(vim.o.lines / 2) - 3
vim.opt.scrolloff = scrolloff
-- Indent
vim.o.autoindent = true