Skip to content

Commit ee93e13

Browse files
feat: update vim to 2:9.2.0218-1
1 parent 2327904 commit ee93e13

1,559 files changed

Lines changed: 98735 additions & 33589 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.cirrus.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ env:
55
freebsd_task:
66
name: FreeBSD
77
matrix:
8-
- name: FreeBSD 14.3
8+
- name: FreeBSD 15.0
99
freebsd_instance:
10-
image_family: freebsd-14-3
10+
image_family: freebsd-15-0-amd64-ufs
1111
timeout_in: 20m
1212
install_script:
13-
- pkg install -y gettext
13+
- pkg install -y gettext diffutils
1414
build_script:
1515
- NPROC=$(getconf _NPROCESSORS_ONLN)
1616
- ./configure --with-features=${FEATURES}

.gitattributes

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
1-
src/testdir/test42.in diff
1+
# The old test .ok files are expected to use LF line endings, even on Windows.
2+
# In src/testdir/Make_mvc.mak and src/testdir/Make_ming.mak, the test result
3+
# files .out are converted to LF line endings before being compared.
4+
# Therefore, if the .ok files' line endings are not specified and are
5+
# converted to CRLF, the comparison between .ok and .out will fail.
6+
src/testdir/test*.ok text eol=lf
7+
8+
# This ok file contains literal CR LF endings. Should not be touched by git,
9+
# so handle as binary
10+
src/testdir/test21.ok -text
211

312
# `vim.pot` is updated every time any of the *.c files are modified. And as it
413
# contains line numbers for strings from *.c files, inserting a line into a
@@ -24,8 +33,11 @@ src/po/vim.pot -diff
2433
src/po/vim.pot diff=ignore_vim_pot
2534

2635
# GitHub reacts to the `linguist-generated` attribute, by ignoring marked files
27-
# for the repository's language statistics and hiddning changes in these files
36+
# for the repository's language statistics and hiding changes in these files
2837
# by default in diffs.
2938
#
3039
# https://docs.github.com/en/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github
3140
src/po/vim.pot linguist-generated=true
41+
*.dump linguist-generated=true
42+
43+
runtime/syntax/testdir/input/vim_ex_help.vim -text diff linguist-language=vim linguist-detectable=true

CONTRIBUTING.md

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ A pull request has the advantage that it will trigger the Continuous
1212
Integration tests, you will be warned of problems (you can ignore the coverage
1313
warning, it's noisy).
1414

15-
Please consider adding a test. All new functionality should be tested and bug
16-
fixes should be tested for regressions: the test should fail before the fix and
17-
pass after the fix. Look through recent patches for examples and find help
18-
with ":help testing". The tests are located under "src/testdir".
15+
Please always add a test, if possible. All new functionality should be tested
16+
and bug fixes should be tested for regressions: the test should fail before the
17+
fix and pass after the fix. Look through recent patches for examples and find
18+
help with ":help testing". The tests are located under "src/testdir".
1919

2020
Contributions will be distributed with Vim under the Vim license. Providing a
2121
change to be included implies that you agree with this and your contribution
@@ -46,6 +46,15 @@ When merging PRs into Vim, the current maintainer @chrisbra usually adds missing
4646
anybody that explicitly *ACK*s a pull request as a statement that those
4747
approvers are happy with that particular change.
4848

49+
## Using AI
50+
51+
When using AI for contributions, please disclose this. Any AI-generated code
52+
must follow the Vim code style. In particular, [test_codestyle.vim][18]
53+
must not report any failures. Check the CI output for any test failures.
54+
55+
Ensure that changes are properly tested. Do not submit a single PR that
56+
addresses multiple unrelated issues.
57+
4958
# Reporting issues
5059

5160
We use GitHub [issues][17], but that is not a requirement. Writing to the Vim
@@ -138,8 +147,9 @@ For the recommended documentation style, please check [helphelp.txt][16].
138147
# I have a question
139148

140149
If you have some question on the style guide, please contact the [vim-dev][0]
141-
mailing list. For other questions please use the [Vi Stack Exchange][8] website, the
142-
[vim-use][9] mailing list or make use of the [discussion][10] feature here at github.
150+
mailing list. For other questions you can join [`#vim`][19], use the
151+
[Vi Stack Exchange][8] website, the [vim-use][9] mailing list or make use of the
152+
[discussion][10] feature here at github.
143153

144154
[todo list]: https://github.com/vim/vim/blob/master/runtime/doc/todo.txt
145155
[0]: http://www.vim.org/maillist.php#vim-dev
@@ -160,3 +170,5 @@ mailing list. For other questions please use the [Vi Stack Exchange][8] website,
160170
[15]: https://en.wikipedia.org/wiki/Developer_Certificate_of_Origin
161171
[16]: https://github.com/vim/vim/blob/master/runtime/doc/helphelp.txt
162172
[17]: https://github.com/vim/vim/issues
173+
[18]: https://github.com/vim/vim/blob/master/src/testdir/test_codestyle.vim
174+
[19]: https://web.libera.chat/#vim

Filelist

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ SRC_ALL = \
2727
ci/if_feat_check.vim \
2828
ci/lychee.toml \
2929
ci/setup-xvfb.sh \
30-
ci/setup-sway.sh \
3130
ci/remove_snap.sh \
3231
ci/ddebs.list \
3332
ci/pinned-pkgs \
@@ -214,6 +213,7 @@ SRC_ALL = \
214213
src/testdir/ru_RU/LC_MESSAGES/__PACKAGE__.po \
215214
src/testdir/runtest.vim \
216215
src/testdir/samples/*.html \
216+
src/testdir/samples/*.swp \
217217
src/testdir/samples/*.txt \
218218
src/testdir/samples/*.vim \
219219
src/testdir/samples/evil.zip \
@@ -224,6 +224,8 @@ SRC_ALL = \
224224
src/testdir/samples/test000 \
225225
src/testdir/samples/test_undo.txt.undo \
226226
src/testdir/samples/testa.zip \
227+
src/testdir/samples/crypt_utf8_test.txt \
228+
src/testdir/samples/uncrypt_utf8_test.txt \
227229
src/testdir/sautest/autoload/*.vim \
228230
src/testdir/silent.wav \
229231
src/testdir/test77a.com \
@@ -248,6 +250,7 @@ SRC_ALL = \
248250
src/testdir/util/view_util.vim \
249251
src/testdir/util/vim9.vim \
250252
src/testdir/util/window_manager.vim \
253+
src/testdir/util/socketserver.vim \
251254
src/testdir/viewdumps.vim \
252255
src/proto.h \
253256
src/protodef.h \
@@ -540,7 +543,6 @@ SRC_UNIX = \
540543
src/wayland.c \
541544
src/wayland.h \
542545
src/which.sh \
543-
src/gen-wayland-protocols.sh \
544546
src/xxd/Makefile \
545547

546548
# Source files for both MS Windows and Unix-like.
@@ -804,6 +806,10 @@ RT_ALL = \
804806
runtime/tutor/en/vim-01-beginner.tutor.json \
805807
runtime/tutor/en/vim-02-beginner.tutor \
806808
runtime/tutor/en/vim-02-beginner.tutor.json \
809+
runtime/tutor/sv/vim-01-beginner.tutor \
810+
runtime/tutor/sv/vim-01-beginner.tutor.json \
811+
runtime/tutor/sv/vim-02-beginner.tutor \
812+
runtime/tutor/sv/vim-02-beginner.tutor.json \
807813
runtime/tutor/tutor.tutor \
808814
runtime/tutor/tutor.tutor.json \
809815
runtime/tutor/tutor.vim \
@@ -821,14 +827,17 @@ RT_ALL = \
821827
runtime/pack/dist/opt/editorconfig/.editorconfig \
822828
runtime/pack/dist/opt/editorconfig/CONTRIBUTORS \
823829
runtime/pack/dist/opt/editorconfig/LICENSE* \
824-
runtime/pack/dist/opt/editorconfig/mkzip.sh \
825830
runtime/pack/dist/opt/editorconfig/README.md \
826831
runtime/pack/dist/opt/editorconfig/autoload/*.vim \
827832
runtime/pack/dist/opt/editorconfig/autoload/editorconfig_core/*.vim \
828833
runtime/pack/dist/opt/editorconfig/doc/tags \
829834
runtime/pack/dist/opt/editorconfig/doc/editorconfig.txt \
830835
runtime/pack/dist/opt/editorconfig/ftdetect/editorconfig.vim \
831836
runtime/pack/dist/opt/editorconfig/plugin/editorconfig.vim \
837+
runtime/pack/dist/opt/helpcurwin/autoload/helpcurwin.vim \
838+
runtime/pack/dist/opt/helpcurwin/doc/helpcurwin.txt \
839+
runtime/pack/dist/opt/helpcurwin/doc/tags \
840+
runtime/pack/dist/opt/helpcurwin/plugin/helpcurwin.vim \
832841
runtime/pack/dist/opt/helptoc/autoload/helptoc.vim \
833842
runtime/pack/dist/opt/helptoc/doc/helptoc.txt \
834843
runtime/pack/dist/opt/helptoc/doc/tags \
@@ -852,7 +861,12 @@ RT_ALL = \
852861
runtime/pack/dist/opt/netrw/autoload/netrw_gitignore.vim \
853862
runtime/pack/dist/opt/netrw/doc/netrw.txt \
854863
runtime/pack/dist/opt/netrw/plugin/netrwPlugin.vim \
855-
runtime/pack/dist/opt/netrw/syntax/netrw.vim
864+
runtime/pack/dist/opt/netrw/syntax/netrw.vim \
865+
runtime/pack/dist/opt/osc52/plugin/osc52.vim \
866+
runtime/pack/dist/opt/osc52/autoload/osc52.vim \
867+
runtime/pack/dist/opt/osc52/doc/osc52.txt \
868+
runtime/pack/dist/opt/osc52/doc/tags \
869+
runtime/xdg.vim
856870

857871
# Runtime files for all distributions without CR/LF translation.
858872
RT_ALL_BIN = \
@@ -907,7 +921,6 @@ RT_SCRIPTS = \
907921
runtime/syntax/testdir/input/selftestdir/* \
908922
runtime/syntax/testdir/input/setup/*.* \
909923
runtime/syntax/testdir/dumps/*.dump \
910-
runtime/syntax/testdir/dumps/*.vim \
911924
runtime/syntax/testdir/tools/* \
912925
runtime/syntax/generator/Makefile \
913926
runtime/syntax/generator/README.md \
@@ -928,12 +941,15 @@ RT_UNIX_DOS_BIN = \
928941
runtime/vim16x16.gif \
929942
runtime/vim16x16.png \
930943
runtime/vim16x16.xpm \
944+
runtime/vim16x16_png.h \
931945
runtime/vim32x32.gif \
932946
runtime/vim32x32.png \
933947
runtime/vim32x32.xpm \
948+
runtime/vim32x32_png.h \
934949
runtime/vim48x48.gif \
935950
runtime/vim48x48.png \
936951
runtime/vim48x48.xpm \
952+
runtime/vim48x48_png.h \
937953

938954
# Runtime not for Unix-like or extra.
939955
RT_NO_UNIX = \
@@ -979,8 +995,7 @@ RT_AMI = \
979995
runtime/macros/maze/*.info \
980996
runtime/macros/urm/*.info \
981997
runtime/tools.info \
982-
runtime/tutor.info \
983-
runtime/tutor/*.info \
998+
runtime/tutor.info
984999

9851000
# Runtime files in extra archive.
9861001
RT_EXTRA = \
@@ -1095,6 +1110,8 @@ LANG_GEN = \
10951110
runtime/doc/*-pl.UTF-8.1 \
10961111
runtime/doc/*-ru.1 \
10971112
runtime/doc/*-ru.UTF-8.1 \
1113+
runtime/doc/*-sv.1 \
1114+
runtime/doc/*-sv.UTF-8.1 \
10981115
runtime/doc/*-tr.1 \
10991116
runtime/doc/*-tr.UTF-8.1 \
11001117
runtime/lang/README.txt \
@@ -1114,6 +1131,8 @@ LANG_GEN = \
11141131
runtime/tutor/sr/vim-01-beginner.tutor.json \
11151132
runtime/tutor/sr/vim-02-beginner.tutor \
11161133
runtime/tutor/sr/vim-02-beginner.tutor.json \
1134+
runtime/tutor/zh/vim-01-beginner.tutor \
1135+
runtime/tutor/zh/vim-01-beginner.tutor.json \
11171136
runtime/tutor/tutor1.?? \
11181137
runtime/tutor/tutor1.??_?? \
11191138
runtime/tutor/tutor1.bar \

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ syntaxtest:
9898
# Before creating an archive first delete all backup files, *.orig, etc.
9999

100100
MAJOR = 9
101-
MINOR = 1
101+
MINOR = 2
102102

103103
# CHECKLIST for creating a new version:
104104
#
@@ -460,6 +460,7 @@ dosrt_files: dist prepare
460460
$(LANG_GEN_BIN) \
461461
| (cd dist/vim/$(VIMRTDIR); tar xf -)
462462
-rm $(IN_README_DIR)
463+
mv dist/vim/$(VIMRTDIR)/lang/ dist/vim/$(VIMRTDIR)/readme/
463464
mv dist/vim/$(VIMRTDIR)/runtime/* dist/vim/$(VIMRTDIR)
464465
rmdir dist/vim/$(VIMRTDIR)/runtime
465466
# Add the message translations. Trick: skip ja.mo/ja.euc-jp.mo and use

README.md

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
1-
<div align="center" markdown="1">
2-
<sup>Special thanks for supporting Vim by donating to the <a href="https://iccf-holland.org/">ICCF</a>:</sup>
3-
<br>
4-
<br>
5-
<a href="https://go.warp.dev/vim">
6-
<img alt="Warp sponsorship" width="400" src="https://raw.githubusercontent.com/warpdotdev/brand-assets/refs/heads/main/Github/Sponsor/Warp-Github-LG-03.png">
7-
</a>
8-
9-
### [Warp, built for coding with multiple AI agents.](https://www.warp.dev/vim)
10-
[Available for MacOS, Linux, & Windows](https://www.warp.dev/vim)<br>
11-
</div>
12-
<hr>
13-
141
# [![Vim The editor](https://github.com/vim/vim/raw/master/runtime/vimlogo.gif)](https://www.vim.org)
152

163
[![Github Build status](https://github.com/vim/vim/workflows/GitHub%20CI/badge.svg)](https://github.com/vim/vim/actions?query=workflow%3A%22GitHub+CI%22)
@@ -25,7 +12,9 @@
2512
If you find a bug or want to discuss the best way to add a new feature, please
2613
[open an issue](https://github.com/vim/vim/issues/new/choose).
2714
If you have a question or want to discuss the best way to do something with
28-
Vim, you can use [StackExchange](https://vi.stackexchange.com/)
15+
Vim, you can join [`#vim`](https://web.libera.chat/#vim),
16+
[reddit.com/r/vim](https://reddit.com/r/vim),
17+
use [StackExchange](https://vi.stackexchange.com/),
2918
or one of the [Maillists](https://www.vim.org/community.php).
3019

3120
## What is Vim?
@@ -167,4 +156,4 @@ Most of Vim was created by Bram Moolenaar `<Bram@vim.org>`
167156
Send any other comments, patches, flowers and suggestions to the vim-dev mailing list:
168157
`<vim-dev@vim.org>`
169158

170-
This is `README.md` for version 9.1 of Vim: Vi IMproved.
159+
This is `README.md` for version 9.2 of Vim: Vi IMproved.

README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
README.txt for version 9.1 of Vim: Vi IMproved.
1+
README.txt for version 9.2 of Vim: Vi IMproved.
22

33

44
WHAT IS VIM?

README_VIM9.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ way:
2828
* Local variables are not available in an l: dictionary.
2929
* A few more things that slow us down, such as exception handling details.
3030

31-
I Implemented a "proof of concept" and measured the time to run a simple
31+
I implemented a "proof of concept" and measured the time to run a simple
3232
for loop with an addition (Justin used this example in his presentation,
3333
full code is below):
3434

@@ -224,7 +224,7 @@ Eventually this will lead to Vim 9!
224224

225225
## Code for sum time measurements
226226

227-
Vim was build with -O2.
227+
Vim was built with -O2.
228228

229229
``` vim
230230
func VimOld()

READMEdir/Contents

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ Vim Vi IMproved. A clone of the UNIX text editor Vi. Very useful
99
messages, shows current file name in window title, on-line
1010
help, rectangular cut/paste, etc., etc., etc...
1111

12-
Version 9.1. Also runs under UNIX, MS-Windows, Mac, etc.
13-
vim91rt.tgz contains the documentation and syntax files.
14-
vim91bin.tgz contains the binaries.
15-
vim91src.tgz contains the sources.
12+
Version 9.2. Also runs under UNIX, MS-Windows, Mac, etc.
13+
vim92rt.tgz contains the documentation and syntax files.
14+
vim92bin.tgz contains the binaries.
15+
vim92src.tgz contains the sources.
1616
Author: Bram Moolenaar et al.
1717

1818

1919
Xxd Hex dumper and reader. Can be used to view files as hex, edit
2020
them and write them back. Can also be used to patch files.
2121

22-
Version 2023 Oct 25
23-
Author: Juergen Weigert
22+
Version 2025 Nov 26
23+
Author: Juergen Weigert et al.

READMEdir/README_ami.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
README_ami.txt for version 9.1 of Vim: Vi IMproved.
1+
README_ami.txt for version 9.2 of Vim: Vi IMproved.
22

33
This file explains the installation of Vim on Amiga systems.
44
See README.txt for general information about Vim.
@@ -16,8 +16,8 @@ easily upgrade to a new version. For example:
1616
You would then unpack the archives like this:
1717

1818
cd dh0:editors
19-
tar xf t:vim91bin.tar
20-
tar xf t:vim91rt.tar
19+
tar xf t:vim92bin.tar
20+
tar xf t:vim92rt.tar
2121

2222
Set the $VIM environment variable to point to the top directory of your Vim
2323
files. For the above example:

0 commit comments

Comments
 (0)