mirror of
https://github.com/neovim/neovim.git
synced 2025-10-15 22:36:09 +00:00
vim-patch:9.0.0816: CTRL-Z at end of file is always dropped
Problem: CTRL-Z at end of file is always dropped. Solution: Add the 'endoffile' option, like the 'endofline' option. (closes vim/vim#11408, closes vim/vim#11397) Cherry-pick test_fixeol.vim changes from patch 8.2.1432. Cherry-pick 'endoffile' changes from latest Vim runtime update.fb0cf2357e
vim-patch:f0b567e32a46 Revert unintended Makefile changef0b567e32a
vim-patch:72c8e3c070b3 Fix wrong struct access for member.72c8e3c070
vim-patch:3f68a4136eb9 Add missing entry for the 'endoffile' option.3f68a4136e
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -675,6 +675,7 @@ struct file_buffer {
|
||||
char *b_p_cfu; ///< 'completefunc'
|
||||
char *b_p_ofu; ///< 'omnifunc'
|
||||
char *b_p_tfu; ///< 'tagfunc'
|
||||
int b_p_eof; ///< 'endoffile'
|
||||
int b_p_eol; ///< 'endofline'
|
||||
int b_p_fixeol; ///< 'fixendofline'
|
||||
int b_p_et; ///< 'expandtab'
|
||||
|
Reference in New Issue
Block a user