aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer_defs.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-10-30 07:56:10 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-10-30 08:07:56 +0800
commit4158ad38ecb107cfe3d1dd7472cc9e17039f6ee2 (patch)
tree5f2c5122641a4da14ae67029e76737298623f775 /src/nvim/buffer_defs.h
parentfeabc1c98cb077f60fde1a14e8540f2cf99eb8d2 (diff)
downloadrneovim-4158ad38ecb107cfe3d1dd7472cc9e17039f6ee2.tar.gz
rneovim-4158ad38ecb107cfe3d1dd7472cc9e17039f6ee2.tar.bz2
rneovim-4158ad38ecb107cfe3d1dd7472cc9e17039f6ee2.zip
vim-patch:9.0.0819: still a build error, tests are failing
Problem: Still a build error, tests are failing. Solution: Correct recent changes. Add missing init for 'eof'. https://github.com/vim/vim/commit/1577537f109d97a975fda9a899cacfb598617767 vim-patch:1577537f109d Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r--src/nvim/buffer_defs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h
index 8e29edc0f5..52449faa5b 100644
--- a/src/nvim/buffer_defs.h
+++ b/src/nvim/buffer_defs.h
@@ -794,6 +794,7 @@ struct file_buffer {
linenr_T b_no_eol_lnum; // non-zero lnum when last line of next binary
// write should not have an end-of-line
+ int b_start_eof; // last line had eof (CTRL-Z) when it was read
int b_start_eol; // last line had eol when it was read
int b_start_ffc; // first char of 'ff' when edit started
char *b_start_fenc; // 'fileencoding' when edit started or NULL