diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-10-22 11:25:19 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-10-22 11:25:19 +0100 |
commit | fb0cf2357e0c85bbfd9f9178705ad8d77b6b3b4e (patch) | |
tree | 25307998711d15645e29dac9ba83815a31f1fb4d /src/optiondefs.h | |
parent | 9c50eeb40117413bf59a9da904c8d0921ed0a6e6 (diff) |
Diffstat (limited to 'src/optiondefs.h')
-rw-r--r-- | src/optiondefs.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/optiondefs.h b/src/optiondefs.h index 9ea8602905..43a334fc07 100644 --- a/src/optiondefs.h +++ b/src/optiondefs.h @@ -61,6 +61,7 @@ # define PV_DEF OPT_BOTH(OPT_BUF(BV_DEF)) # define PV_INC OPT_BOTH(OPT_BUF(BV_INC)) #endif +#define PV_EOF OPT_BUF(BV_EOF) #define PV_EOL OPT_BUF(BV_EOL) #define PV_FIXEOL OPT_BUF(BV_FIXEOL) #define PV_EP OPT_BOTH(OPT_BUF(BV_EP)) @@ -846,7 +847,7 @@ static struct vimoption options[] = {"edcompatible","ed", P_BOOL|P_VI_DEF, (char_u *)&p_ed, PV_NONE, {(char_u *)FALSE, (char_u *)0L} SCTX_INIT}, - {"emoji", "emo", P_BOOL|P_VI_DEF|P_RCLR, + {"emoji", "emo", P_BOOL|P_VI_DEF|P_RCLR, (char_u *)&p_emoji, PV_NONE, {(char_u *)TRUE, (char_u *)0L} SCTX_INIT}, @@ -854,6 +855,9 @@ static struct vimoption options[] = (char_u *)&p_enc, PV_NONE, {(char_u *)ENC_DFLT, (char_u *)0L} SCTX_INIT}, + {"endoffile", "eof", P_BOOL|P_NO_MKRC|P_VI_DEF|P_RSTAT, + (char_u *)&p_eof, PV_EOF, + {(char_u *)TRUE, (char_u *)0L} SCTX_INIT}, {"endofline", "eol", P_BOOL|P_NO_MKRC|P_VI_DEF|P_RSTAT, (char_u *)&p_eol, PV_EOL, {(char_u *)TRUE, (char_u *)0L} SCTX_INIT}, |