mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-25 14:01:03 +00:00
fix: fix scrolloff options
This commit is contained in:
parent
6eb8001bea
commit
d742a5f887
1 changed files with 2 additions and 3 deletions
|
|
@ -5,6 +5,5 @@ vim.opt.swapfile = false
|
|||
vim.opt.backup = false
|
||||
vim.opt.writebackup = false
|
||||
vim.opt.spelllang = { "en", "cjk" }
|
||||
local scrolloff = 3
|
||||
vim.opt.scrolloff = scrolloff
|
||||
vim.opt.scrolloff = vim.o.scrolloff == 3 and 999 or 3
|
||||
vim.o.scrolloff = 3
|
||||
vim.o.scrolloff = vim.o.scrolloff == 3 and 999 or 3
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue