Mercurial > vim
comparison src/optiondefs.h @ 18574:8b0114ffde2b v8.1.2281
patch 8.1.2281: 'showbreak' cannot be set for one window
Commit: https://github.com/vim/vim/commit/ee85702c10495041791f728e977b86005c4496e8
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 9 23:26:40 2019 +0100
patch 8.1.2281: 'showbreak' cannot be set for one window
Problem: 'showbreak' cannot be set for one window.
Solution: Make 'showbreak' global-local.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 09 Nov 2019 23:30:03 +0100 |
parents | 334b1f897f3a |
children | 41484f342f80 |
comparison
equal
deleted
inserted
replaced
18573:f18a4ae518f1 | 18574:8b0114ffde2b |
---|---|
207 # define PV_CUC OPT_WIN(WV_CUC) | 207 # define PV_CUC OPT_WIN(WV_CUC) |
208 # define PV_CUL OPT_WIN(WV_CUL) | 208 # define PV_CUL OPT_WIN(WV_CUL) |
209 # define PV_CULOPT OPT_WIN(WV_CULOPT) | 209 # define PV_CULOPT OPT_WIN(WV_CULOPT) |
210 # define PV_CC OPT_WIN(WV_CC) | 210 # define PV_CC OPT_WIN(WV_CC) |
211 #endif | 211 #endif |
212 #ifdef FEAT_LINEBREAK | |
213 # define PV_SBR OPT_BOTH(OPT_WIN(WV_SBR)) | |
214 #endif | |
212 #ifdef FEAT_STL_OPT | 215 #ifdef FEAT_STL_OPT |
213 # define PV_STL OPT_BOTH(OPT_WIN(WV_STL)) | 216 # define PV_STL OPT_BOTH(OPT_WIN(WV_STL)) |
214 #endif | 217 #endif |
215 #define PV_UL OPT_BOTH(OPT_BUF(BV_UL)) | 218 #define PV_UL OPT_BOTH(OPT_BUF(BV_UL)) |
216 # define PV_WFH OPT_WIN(WV_WFH) | 219 # define PV_WFH OPT_WIN(WV_WFH) |
2280 {"shortname", "sn", P_BOOL|P_VI_DEF, | 2283 {"shortname", "sn", P_BOOL|P_VI_DEF, |
2281 (char_u *)&p_sn, PV_SN, | 2284 (char_u *)&p_sn, PV_SN, |
2282 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT}, | 2285 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT}, |
2283 {"showbreak", "sbr", P_STRING|P_VI_DEF|P_RALL, | 2286 {"showbreak", "sbr", P_STRING|P_VI_DEF|P_RALL, |
2284 #ifdef FEAT_LINEBREAK | 2287 #ifdef FEAT_LINEBREAK |
2285 (char_u *)&p_sbr, PV_NONE, | 2288 (char_u *)&p_sbr, PV_SBR, |
2286 #else | 2289 #else |
2287 (char_u *)NULL, PV_NONE, | 2290 (char_u *)NULL, PV_NONE, |
2288 #endif | 2291 #endif |
2289 {(char_u *)"", (char_u *)0L} SCTX_INIT}, | 2292 {(char_u *)"", (char_u *)0L} SCTX_INIT}, |
2290 {"showcmd", "sc", P_BOOL|P_VIM, | 2293 {"showcmd", "sc", P_BOOL|P_VIM, |