diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-07-04 17:34:33 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-07-04 17:34:33 +0100 |
commit | 96ba25ac01279f73c0ecb5d4aa4ff37aa359e5eb (patch) | |
tree | a7ebf066dede8010563debf70816231c4cdf75f4 /src/optiondefs.h | |
parent | 54e5fed6d27b747ff152cdb6edfb72ff60e70939 (diff) | |
download | vim-git-96ba25ac01279f73c0ecb5d4aa4ff37aa359e5eb.tar.gz |
patch 9.0.0036: 'fillchars' cannot have window-local valuesv9.0.0036
Problem: 'fillchars' cannot have window-local values.
Solution: Make 'fillchars' global-local. (closes #5206)
Diffstat (limited to 'src/optiondefs.h')
-rw-r--r-- | src/optiondefs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/optiondefs.h b/src/optiondefs.h index 03e472ff9..912209c02 100644 --- a/src/optiondefs.h +++ b/src/optiondefs.h @@ -182,6 +182,7 @@ # define PV_LBR OPT_WIN(WV_LBR) #endif #define PV_LCS OPT_BOTH(OPT_WIN(WV_LCS)) +#define PV_FCS OPT_BOTH(OPT_WIN(WV_FCS)) #define PV_NU OPT_WIN(WV_NU) #define PV_RNU OPT_WIN(WV_RNU) #define PV_VE OPT_BOTH(OPT_WIN(WV_VE)) @@ -947,7 +948,7 @@ static struct vimoption options[] = {(char_u *)"", (char_u *)0L} SCTX_INIT}, {"fillchars", "fcs", P_STRING|P_VI_DEF|P_RALL|P_ONECOMMA|P_NODUP, - (char_u *)&p_fcs, PV_NONE, + (char_u *)&p_fcs, PV_FCS, {(char_u *)"vert:|,fold:-,eob:~", (char_u *)0L} SCTX_INIT}, {"fixendofline", "fixeol", P_BOOL|P_VI_DEF|P_RSTAT, |