summaryrefslogtreecommitdiffstats
path: root/runtime/optwin.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-10-28 20:47:54 +0100
committerBram Moolenaar <Bram@vim.org>2022-10-28 20:47:54 +0100
commit6ebe4f970b8b398087076a72a7aae6e680fb92da (patch)
treed92a85620e8a242846fd6984f30ef31633d4be26 /runtime/optwin.vim
parent3f68a4136eb99840d739af5133ab31948f273f63 (diff)
Update runtime files
Diffstat (limited to 'runtime/optwin.vim')
-rw-r--r--runtime/optwin.vim5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/optwin.vim b/runtime/optwin.vim
index 360cde5ab5..42d6e48add 100644
--- a/runtime/optwin.vim
+++ b/runtime/optwin.vim
@@ -1,7 +1,7 @@
" These commands create the option window.
"
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last Change: 2022 Oct 15
+" Last Change: 2022 Oct 28
" If there already is an option window, jump to that one.
let buf = bufnr('option-window')
@@ -1047,6 +1047,9 @@ call <SID>BinOptionL("bin")
call <SID>AddOption("endofline", gettext("last line in the file has an end-of-line"))
call append("$", "\t" .. s:local_to_buffer)
call <SID>BinOptionL("eol")
+call <SID>AddOption("endoffile", gettext("last line in the file followed by CTRL-Z"))
+call append("$", "\t" .. s:local_to_buffer)
+call <SID>BinOptionL("eof")
call <SID>AddOption("fixendofline", gettext("fixes missing end-of-line at end of text file"))
call append("$", "\t" .. s:local_to_buffer)
call <SID>BinOptionL("fixeol")