mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 23:48:32 +00:00
vim-patch:8.2.3280: 'virtualedit' local to buffer is not the best solution
Problem: 'virtualedit' local to buffer is not the best solution.
Solution: Make it window-local. (Gary Johnson, closes vim/vim#8685)
51ad850f5f
This commit is contained in:
@@ -204,6 +204,10 @@ typedef struct {
|
||||
#define w_p_nu w_onebuf_opt.wo_nu // 'number'
|
||||
int wo_rnu;
|
||||
#define w_p_rnu w_onebuf_opt.wo_rnu // 'relativenumber'
|
||||
char_u *wo_ve;
|
||||
#define w_p_ve w_onebuf_opt.wo_ve // 'virtualedit'
|
||||
unsigned wo_ve_flags;
|
||||
#define w_ve_flags w_onebuf_opt.wo_ve_flags // flags for 'virtualedit'
|
||||
long wo_nuw;
|
||||
#define w_p_nuw w_onebuf_opt.wo_nuw // 'numberwidth'
|
||||
int wo_wfh;
|
||||
@@ -772,8 +776,6 @@ struct file_buffer {
|
||||
long b_p_ul; ///< 'undolevels' local value
|
||||
int b_p_udf; ///< 'undofile'
|
||||
char_u *b_p_lw; ///< 'lispwords' local value
|
||||
char_u *b_p_ve; ///< 'virtualedit' local value
|
||||
unsigned b_ve_flags; ///< flags for 'virtualedit'
|
||||
|
||||
// end of buffer options
|
||||
|
||||
|
Reference in New Issue
Block a user