]> granicus.if.org Git - vim/commitdiff
Add missing entry for the 'endoffile' option.
authorBram Moolenaar <Bram@vim.org>
Fri, 28 Oct 2022 16:04:21 +0000 (17:04 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 28 Oct 2022 16:04:21 +0000 (17:04 +0100)
src/option.c

index 329781008015d2dee930fa27b174536860330da9..87764e231544b33a327d2b45a458be8ed60666ef 100644 (file)
@@ -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);