Rebased and addressed the main CI issue. The type of error messages was changed from char_u*
to char*
in https://github.com/neovim/neovim/commit/efa924f66b183d9cf2404ce91c4f009c27e0515a. This PR was still using char_u*
so the compiler was complaining type mismatches.
I believe the remaining CI failures are unrelated (could be wrong though).
Add mousescroll option
Building on https://github.com/neovim/neovim/pull/1288 by @cepko33 and on https://github.com/neovim/neovim/pull/10954 by @qstrahl. Close #11738
Adds a mousescroll option which I understand now has the green light.
Motivation Scrolling with a trackpad feels off with the current hardcoded value. Remapping the scroll wheel keys to <C-Y> and <C-E>, as is commonly suggested, is not a great alternative, you can no longer scroll inactive windows.
The new option defaults to 1, which is different from the old hardcoded value of 3, but I think is a more reasonable default. This can be changed if needed.
Horizontal scrolling still uses a hardcoded value (6 I believe).
:help scroll-mouse-wheel
:help vim-differences