summaryrefslogtreecommitdiff
path: root/src/optiondefs.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-01-15 10:52:16 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-15 10:52:16 +0000
commite1833bfd01c100896d2a01f281762c285192d84b (patch)
tree1745806541f0e04a30c1659405c74dfa258c1ad9 /src/optiondefs.h
parentc53b467473160b5cfce77277fbae414bf43e66ce (diff)
downloadvim-git-e1833bfd01c100896d2a01f281762c285192d84b.tar.gz
patch 8.2.4094: 'virtualedit' is window-local but using buffer-local enumv8.2.4094
Problem: 'virtualedit' is window-local but using buffer-local enum. Solution: Use window-local enum. (closes #9529)
Diffstat (limited to 'src/optiondefs.h')
-rw-r--r--src/optiondefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/optiondefs.h b/src/optiondefs.h
index cc4ad9e57..81d513cd6 100644
--- a/src/optiondefs.h
+++ b/src/optiondefs.h
@@ -156,7 +156,6 @@
# define PV_VSTS OPT_BUF(BV_VSTS)
# define PV_VTS OPT_BUF(BV_VTS)
#endif
-#define PV_VE OPT_BOTH(OPT_BUF(BV_VE))
// Definition of the PV_ values for window-local options.
// The WV_ values are defined in option.h.
@@ -192,6 +191,7 @@
#define PV_LCS OPT_BOTH(OPT_WIN(WV_LCS))
#define PV_NU OPT_WIN(WV_NU)
#define PV_RNU OPT_WIN(WV_RNU)
+#define PV_VE OPT_BOTH(OPT_WIN(WV_VE))
#ifdef FEAT_LINEBREAK
# define PV_NUW OPT_WIN(WV_NUW)
#endif