diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-01-15 19:21:17 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-01-15 19:21:17 +0800 |
commit | 6c22e5fd1a4e6d945bb76a4a8a558613f99ec793 (patch) | |
tree | afb1439e463022725c5eb2bbd4ebd45728deed4b | |
parent | 87e54f123aa1c9c769d3ff35bdd1b5a980ba701c (diff) | |
download | rneovim-6c22e5fd1a4e6d945bb76a4a8a558613f99ec793.tar.gz rneovim-6c22e5fd1a4e6d945bb76a4a8a558613f99ec793.tar.bz2 rneovim-6c22e5fd1a4e6d945bb76a4a8a558613f99ec793.zip |
vim-patch:8.2.4094: 'virtualedit' is window-local but using buffer-local enum
Problem: 'virtualedit' is window-local but using buffer-local enum.
Solution: Use window-local enum. (closes vim/vim#9529)
https://github.com/vim/vim/commit/e1833bfd01c100896d2a01f281762c285192d84b
-rw-r--r-- | src/nvim/option_defs.h | 2 | ||||
-rw-r--r-- | src/nvim/options.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/option_defs.h b/src/nvim/option_defs.h index db8bc83395..5d6aca9574 100644 --- a/src/nvim/option_defs.h +++ b/src/nvim/option_defs.h @@ -841,7 +841,6 @@ enum { BV_WM, BV_VSTS, BV_VTS, - BV_VE, BV_COUNT, // must be the last one }; @@ -872,6 +871,7 @@ enum { WV_LBR, WV_NU, WV_RNU, + WV_VE, WV_NUW, WV_PVW, WV_RL, diff --git a/src/nvim/options.lua b/src/nvim/options.lua index 0f46d2de21..aea2179a61 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -2736,7 +2736,7 @@ return { { full_name='virtualedit', abbreviation='ve', short_desc=N_("when to use virtual editing"), - type='string', list='onecomma', scope={'global', 'buffer'}, + type='string', list='onecomma', scope={'global', 'window'}, deny_duplicates=true, redraw={'curswant'}, varname='p_ve', |