Mercurial > vim
comparison runtime/optwin.vim @ 30967:eb2638f278bf
Update runtime files
Commit: https://github.com/vim/vim/commit/6ebe4f970b8b398087076a72a7aae6e680fb92da
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Oct 28 20:47:54 2022 +0100
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 02 Nov 2022 11:18:47 +0100 |
parents | 3295247d97a5 |
children | a7801222c9c5 |
comparison
equal
deleted
inserted
replaced
30966:685ee8453163 | 30967:eb2638f278bf |
---|---|
1 " These commands create the option window. | 1 " These commands create the option window. |
2 " | 2 " |
3 " Maintainer: Bram Moolenaar <Bram@vim.org> | 3 " Maintainer: Bram Moolenaar <Bram@vim.org> |
4 " Last Change: 2022 Oct 15 | 4 " Last Change: 2022 Oct 28 |
5 | 5 |
6 " If there already is an option window, jump to that one. | 6 " If there already is an option window, jump to that one. |
7 let buf = bufnr('option-window') | 7 let buf = bufnr('option-window') |
8 if buf >= 0 | 8 if buf >= 0 |
9 let winids = win_findbuf(buf) | 9 let winids = win_findbuf(buf) |
1045 call append("$", "\t" .. s:local_to_buffer) | 1045 call append("$", "\t" .. s:local_to_buffer) |
1046 call <SID>BinOptionL("bin") | 1046 call <SID>BinOptionL("bin") |
1047 call <SID>AddOption("endofline", gettext("last line in the file has an end-of-line")) | 1047 call <SID>AddOption("endofline", gettext("last line in the file has an end-of-line")) |
1048 call append("$", "\t" .. s:local_to_buffer) | 1048 call append("$", "\t" .. s:local_to_buffer) |
1049 call <SID>BinOptionL("eol") | 1049 call <SID>BinOptionL("eol") |
1050 call <SID>AddOption("endoffile", gettext("last line in the file followed by CTRL-Z")) | |
1051 call append("$", "\t" .. s:local_to_buffer) | |
1052 call <SID>BinOptionL("eof") | |
1050 call <SID>AddOption("fixendofline", gettext("fixes missing end-of-line at end of text file")) | 1053 call <SID>AddOption("fixendofline", gettext("fixes missing end-of-line at end of text file")) |
1051 call append("$", "\t" .. s:local_to_buffer) | 1054 call append("$", "\t" .. s:local_to_buffer) |
1052 call <SID>BinOptionL("fixeol") | 1055 call <SID>BinOptionL("fixeol") |
1053 call <SID>AddOption("bomb", gettext("prepend a Byte Order Mark to the file")) | 1056 call <SID>AddOption("bomb", gettext("prepend a Byte Order Mark to the file")) |
1054 call append("$", "\t" .. s:local_to_buffer) | 1057 call append("$", "\t" .. s:local_to_buffer) |