Mercurial > vim
comparison src/optiondefs.h @ 27130:daac3cf65d7e v8.2.4094
patch 8.2.4094: 'virtualedit' is window-local but using buffer-local enum
Commit: https://github.com/vim/vim/commit/e1833bfd01c100896d2a01f281762c285192d84b
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sat Jan 15 10:52:16 2022 +0000
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 https://github.com/vim/vim/issues/9529)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 15 Jan 2022 12:00:03 +0100 |
parents | a77b661439f9 |
children | fb4c30606b4a |
comparison
equal
deleted
inserted
replaced
27129:a4ef6b033e16 | 27130:daac3cf65d7e |
---|---|
154 #define PV_WM OPT_BUF(BV_WM) | 154 #define PV_WM OPT_BUF(BV_WM) |
155 #ifdef FEAT_VARTABS | 155 #ifdef FEAT_VARTABS |
156 # define PV_VSTS OPT_BUF(BV_VSTS) | 156 # define PV_VSTS OPT_BUF(BV_VSTS) |
157 # define PV_VTS OPT_BUF(BV_VTS) | 157 # define PV_VTS OPT_BUF(BV_VTS) |
158 #endif | 158 #endif |
159 #define PV_VE OPT_BOTH(OPT_BUF(BV_VE)) | |
160 | 159 |
161 // Definition of the PV_ values for window-local options. | 160 // Definition of the PV_ values for window-local options. |
162 // The WV_ values are defined in option.h. | 161 // The WV_ values are defined in option.h. |
163 #define PV_LIST OPT_WIN(WV_LIST) | 162 #define PV_LIST OPT_WIN(WV_LIST) |
164 #ifdef FEAT_ARABIC | 163 #ifdef FEAT_ARABIC |
190 # define PV_LBR OPT_WIN(WV_LBR) | 189 # define PV_LBR OPT_WIN(WV_LBR) |
191 #endif | 190 #endif |
192 #define PV_LCS OPT_BOTH(OPT_WIN(WV_LCS)) | 191 #define PV_LCS OPT_BOTH(OPT_WIN(WV_LCS)) |
193 #define PV_NU OPT_WIN(WV_NU) | 192 #define PV_NU OPT_WIN(WV_NU) |
194 #define PV_RNU OPT_WIN(WV_RNU) | 193 #define PV_RNU OPT_WIN(WV_RNU) |
194 #define PV_VE OPT_BOTH(OPT_WIN(WV_VE)) | |
195 #ifdef FEAT_LINEBREAK | 195 #ifdef FEAT_LINEBREAK |
196 # define PV_NUW OPT_WIN(WV_NUW) | 196 # define PV_NUW OPT_WIN(WV_NUW) |
197 #endif | 197 #endif |
198 #if defined(FEAT_QUICKFIX) | 198 #if defined(FEAT_QUICKFIX) |
199 # define PV_PVW OPT_WIN(WV_PVW) | 199 # define PV_PVW OPT_WIN(WV_PVW) |