diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2023-05-02 19:42:31 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-02 19:42:31 +0800 |
| commit | 808752f1b09d2f03af5b58167602fef8320c11dc (patch) | |
| tree | 0cf72ae00bd1b08053daee0ede8aa5495be704f0 /src/nvim/options.lua | |
| parent | fba18a3b62310f4535d979a05288101b9af2ef50 (diff) | |
| parent | 5b111a8f00f8dbe458a3d437c9f06c9419d24840 (diff) | |
| download | rneovim-808752f1b09d2f03af5b58167602fef8320c11dc.tar.gz rneovim-808752f1b09d2f03af5b58167602fef8320c11dc.tar.bz2 rneovim-808752f1b09d2f03af5b58167602fef8320c11dc.zip | |
Merge pull request #23320 from luukvbaal/smoothscroll
feat(ui): add 'smoothscroll' option
Diffstat (limited to 'src/nvim/options.lua')
| -rw-r--r-- | src/nvim/options.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua index e028fbb6a6..c4a85969c0 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -2012,6 +2012,15 @@ return { defaults={if_true=0} }, { + full_name='smoothscroll', abbreviation='sms', + short_desc=N_("scroll by screen lines when 'wrap' is set"), + type='bool', scope={'window'}, + pv_name='p_sms', + redraw={'current_window'}, + defaults={if_true=0}, + cb='did_set_smoothscroll' + }, + { full_name='scrollback', abbreviation='scbk', short_desc=N_("lines to scroll with CTRL-U and CTRL-D"), type='number', scope={'buffer'}, |