fixed scrolloff, scrolleof not working

This commit is contained in:
2026-04-30 10:03:37 +01:00
parent dc5b162d20
commit f5fb5c83d8
2 changed files with 14 additions and 2 deletions

View File

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