diff src/option.c @ 30966:685ee8453163

Add missing entry for the 'endoffile' option. Commit: https://github.com/vim/vim/commit/3f68a4136eb99840d739af5133ab31948f273f63 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Oct 28 17:04:21 2022 +0100 Add missing entry for the 'endoffile' option.
author Bram Moolenaar <Bram@vim.org>
date Wed, 02 Nov 2022 11:18:47 +0100
parents 40df8a6515f6
children 2a1a4a13b396
line wrap: on
line diff
--- a/src/option.c
+++ b/src/option.c
@@ -5490,6 +5490,7 @@ get_varp(struct vimoption *p)
 #ifdef FEAT_EVAL
 	case PV_TFU:	return (char_u *)&(curbuf->b_p_tfu);
 #endif
+	case PV_EOF:	return (char_u *)&(curbuf->b_p_eof);
 	case PV_EOL:	return (char_u *)&(curbuf->b_p_eol);
 	case PV_FIXEOL:	return (char_u *)&(curbuf->b_p_fixeol);
 	case PV_ET:	return (char_u *)&(curbuf->b_p_et);