karb94 / neoscroll.nvim

Smooth scrolling neovim plugin written in lua
MIT License
1.46k stars 36 forks source link

fix: use `go` for global scope instead of `o`. Fixes #35 #36

Closed folke closed 3 years ago

folke commented 3 years ago

after restoring sessions, the global scrolloff is still wrong. (even after clearing all sessions)

You should use vim.go.scrolloff to get the correct value instead of the o scope.

The o scope is global-local, go scope is global only

Fixes #35 Fixes #32 Fixes #33