1
0
forked from aniani/vim

patch 9.0.0862: default value of 'endoffile' is wrong

Problem:    Default value of 'endoffile' is wrong.
Solution:   The default must be 'noendoffile'.
This commit is contained in:
Bram Moolenaar
2022-11-12 11:54:26 +00:00
parent 9954dc39ea
commit 0aad88f073
4 changed files with 16 additions and 2 deletions

View File

@@ -857,7 +857,7 @@ static struct vimoption options[] =
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},
{(char_u *)FALSE, (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},