fix: issue when scrollbind is set (#1496)

This commit is contained in:
Simon Hauser
2021-11-26 22:42:54 +01:00
committed by GitHub
parent 1c57cc6140
commit a8e9aa58a4
3 changed files with 3 additions and 0 deletions

View File

@@ -4,3 +4,4 @@ vim.opt_local.formatoptions:remove "c"
-- There's also no reason to enable textwidth here anyway
vim.opt_local.textwidth = 0
vim.opt_local.scrollbind = false

View File

@@ -1,2 +1,3 @@
-- Don't have scrolloff, it makes things weird.
vim.opt_local.scrolloff = 0
vim.opt_local.scrollbind = false