summaryrefslogtreecommitdiffstats
path: root/src/optiondefs.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-11-12 11:54:26 +0000
committerBram Moolenaar <Bram@vim.org>2022-11-12 11:54:26 +0000
commit0aad88f073602849d1623122eb3c323f8e252def (patch)
tree7115bc876cb705e2e14da7b6eeeb6df02f0be535 /src/optiondefs.h
parent9954dc39ea090cee6bf41c888c41e60d9f52c3b8 (diff)
patch 9.0.0862: default value of 'endoffile' is wrongv9.0.0862
Problem: Default value of 'endoffile' is wrong. Solution: The default must be 'noendoffile'.
Diffstat (limited to 'src/optiondefs.h')
-rw-r--r--src/optiondefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/optiondefs.h b/src/optiondefs.h
index 43a334fc07..5b3860b613 100644
--- a/src/optiondefs.h
+++ b/src/optiondefs.h
@@ -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},