mirror of
https://github.com/neovim/neovim.git
synced 2025-09-17 00:38:17 +00:00
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)
e1833bfd01
This commit is contained in:
@@ -841,7 +841,6 @@ enum {
|
|||||||
BV_WM,
|
BV_WM,
|
||||||
BV_VSTS,
|
BV_VSTS,
|
||||||
BV_VTS,
|
BV_VTS,
|
||||||
BV_VE,
|
|
||||||
BV_COUNT, // must be the last one
|
BV_COUNT, // must be the last one
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -872,6 +871,7 @@ enum {
|
|||||||
WV_LBR,
|
WV_LBR,
|
||||||
WV_NU,
|
WV_NU,
|
||||||
WV_RNU,
|
WV_RNU,
|
||||||
|
WV_VE,
|
||||||
WV_NUW,
|
WV_NUW,
|
||||||
WV_PVW,
|
WV_PVW,
|
||||||
WV_RL,
|
WV_RL,
|
||||||
|
@@ -2736,7 +2736,7 @@ return {
|
|||||||
{
|
{
|
||||||
full_name='virtualedit', abbreviation='ve',
|
full_name='virtualedit', abbreviation='ve',
|
||||||
short_desc=N_("when to use virtual editing"),
|
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,
|
deny_duplicates=true,
|
||||||
redraw={'curswant'},
|
redraw={'curswant'},
|
||||||
varname='p_ve',
|
varname='p_ve',
|
||||||
|
Reference in New Issue
Block a user