patch 9.0.0862: default value of 'endoffile' is wrong
Problem: Default value of 'endoffile' is wrong.
Solution: The default must be 'noendoffile'.
diff --git a/src/optiondefs.h b/src/optiondefs.h
index 43a334f..5b3860b 100644
--- a/src/optiondefs.h
+++ b/src/optiondefs.h
@@ -857,7 +857,7 @@
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},