Skip to content

Commit 73f2608

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents 515274b + cf0995d commit 73f2608

Some content is hidden

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

95 files changed

+2048
-743
lines changed

.appveyor.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ test_script:
2626
- cd src/testdir
2727
# Testing with MSVC gvim
2828
- path C:\Python35-x64;%PATH%
29-
- nmake -f Make_dos.mak VIMPROG=..\gvim
30-
- nmake -f Make_dos.mak clean
29+
- nmake -f Make_mvc.mak VIMPROG=..\gvim
30+
- nmake -f Make_mvc.mak clean
3131
# Testing with MSVC console version
32-
- nmake -f Make_dos.mak VIMPROG=..\vim
32+
- nmake -f Make_mvc.mak VIMPROG=..\vim
3333

3434
# vim: sw=2 sts=2 et ts=8 sr

.github/CODEOWNERS_vim

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ runtime/compiler/perlcritic.vim @petdance @dkearns
6969
runtime/compiler/php.vim @dkearns
7070
runtime/compiler/podchecker.vim @petdance @dkearns
7171
runtime/compiler/powershell.vim @heaths
72+
runtime/compiler/raco.vim @benknoble
73+
runtime/compiler/racomake.vim @benknoble
74+
runtime/compiler/racosetup.vim @benknoble
75+
runtime/compiler/racotest.vim @benknoble
7276
runtime/compiler/rake.vim @tpope @dkearns
7377
runtime/compiler/rhino.vim @dkearns
7478
runtime/compiler/rspec.vim @tpope @dkearns
@@ -111,6 +115,7 @@ runtime/ftplugin/cucumber.vim @tpope
111115
runtime/ftplugin/desktop.vim @e-kwsm
112116
runtime/ftplugin/dosbatch.vim @mrdubya
113117
runtime/ftplugin/eiffel.vim @dkearns
118+
runtime/ftplugin/elixir.vim @mhanberg
114119
runtime/ftplugin/expect.vim @dkearns
115120
runtime/ftplugin/erlang.vim @hcs42
116121
runtime/ftplugin/eruby.vim @tpope @dkearns
@@ -123,8 +128,10 @@ runtime/ftplugin/gdb.vim @xeyownt
123128
runtime/ftplugin/gdscript.vim @habamax
124129
runtime/ftplugin/gdshader.vim @habamax
125130
runtime/ftplugin/git.vim @tpope
131+
runtime/ftplugin/gitattributes.vim @ObserverOfTime
126132
runtime/ftplugin/gitcommit.vim @tpope
127133
runtime/ftplugin/gitconfig.vim @tpope
134+
runtime/ftplugin/gitignore.vim @ObserverOfTime
128135
runtime/ftplugin/gitrebase.vim @tpope
129136
runtime/ftplugin/gitsendemail.vim @tpope
130137
runtime/ftplugin/go.vim @dbarnett
@@ -135,6 +142,7 @@ runtime/ftplugin/html.vim @dkearns
135142
runtime/ftplugin/i3config.vim @hiqua
136143
runtime/ftplugin/icon.vim @dkearns
137144
runtime/ftplugin/indent.vim @dkearns
145+
runtime/ftplugin/j.vim @glts
138146
runtime/ftplugin/javascript.vim @dkearns
139147
runtime/ftplugin/javascriptreact.vim @dkearns
140148
runtime/ftplugin/jsonc.vim @izhakjakov
@@ -143,6 +151,7 @@ runtime/ftplugin/kconfig.vim @chrisbra
143151
runtime/ftplugin/less.vim @genoma
144152
runtime/ftplugin/liquid.vim @tpope
145153
runtime/ftplugin/lua.vim @dkearns
154+
runtime/ftplugin/lynx.vim @dkearns
146155
runtime/ftplugin/m3build.vim @dkearns
147156
runtime/ftplugin/m3quake.vim @dkearns
148157
runtime/ftplugin/markdown.vim @tpope
@@ -164,6 +173,7 @@ runtime/ftplugin/ps1xml.vim @heaths
164173
runtime/ftplugin/python.vim @tpict
165174
runtime/ftplugin/qb64.vim @dkearns
166175
runtime/ftplugin/r.vim @jalvesaq
176+
runtime/ftplugin/racket.vim @benknoble
167177
runtime/ftplugin/rhelp.vim @jalvesaq
168178
runtime/ftplugin/rmd.vim @jalvesaq
169179
runtime/ftplugin/rnoweb.vim @jalvesaq
@@ -175,6 +185,7 @@ runtime/ftplugin/sass.vim @tpope
175185
runtime/ftplugin/scala.vim @derekwyatt
176186
runtime/ftplugin/scss.vim @tpope
177187
runtime/ftplugin/sdoc.vim @gpanders
188+
runtime/ftplugin/sh.vim @dkearns
178189
runtime/ftplugin/solution.vim @dkearns
179190
runtime/ftplugin/spec.vim @ignatenkobrain
180191
runtime/ftplugin/swayconfig.vim @jamespeapen
@@ -219,6 +230,7 @@ runtime/indent/gitolite.vim @sitaramc
219230
runtime/indent/go.vim @dbarnett
220231
runtime/indent/haml.vim @tpope
221232
runtime/indent/idlang.vim @dkearns
233+
runtime/indent/j.vim @glts
222234
runtime/indent/java.vim @xuhdev
223235
runtime/indent/javascript.vim @bounceme
224236
runtime/indent/json.vim @elzr
@@ -240,6 +252,7 @@ runtime/indent/prolog.vim @dkearns
240252
runtime/indent/ps1.vim @heaths
241253
runtime/indent/qb64.vim @dkearns
242254
runtime/indent/r.vim @jalvesaq
255+
runtime/indent/racket.vim @benknoble
243256
runtime/indent/readline.vim @dkearns
244257
runtime/indent/rhelp.vim @jalvesaq
245258
runtime/indent/rmd.vim @jalvesaq
@@ -321,8 +334,10 @@ runtime/syntax/gdresource.vim @habamax
321334
runtime/syntax/gdscript.vim @habamax
322335
runtime/syntax/gdshader.vim @habamax
323336
runtime/syntax/git.vim @tpope
337+
runtime/syntax/gitattributes.vim @ObserverOfTime
324338
runtime/syntax/gitcommit.vim @tpope
325339
runtime/syntax/gitconfig.vim @tpope
340+
runtime/syntax/gitignore.vim @ObserverOfTime
326341
runtime/syntax/gitolite.vim @sitaramc
327342
runtime/syntax/gitrebase.vim @tpope
328343
runtime/syntax/go.vim @bhcleek
@@ -336,6 +351,7 @@ runtime/syntax/html.vim @dkearns
336351
runtime/syntax/i3config.vim @hiqua
337352
runtime/syntax/icon.vim @dkearns
338353
runtime/syntax/indent.vim @dkearns
354+
runtime/syntax/j.vim @glts
339355
runtime/syntax/jargon.vim @h3xx
340356
runtime/syntax/java.vim @fleiner
341357
runtime/syntax/jsonc.vim @izhakjakov
@@ -377,6 +393,7 @@ runtime/syntax/ps1xml.vim @heaths
377393
runtime/syntax/psl.vim @danielkho
378394
runtime/syntax/qb64.vim @dkearns
379395
runtime/syntax/r.vim @jalvesaq
396+
runtime/syntax/racket.vim @benknoble
380397
runtime/syntax/raml.vim @in3d
381398
runtime/syntax/ratpoison.vim @trapd00r
382399
runtime/syntax/rc.vim @chrisbra
@@ -404,7 +421,7 @@ runtime/syntax/sshconfig.vim @Jakuje
404421
runtime/syntax/sshdconfig.vim @Jakuje
405422
runtime/syntax/sudoers.vim @e-kwsm
406423
runtime/syntax/svn.vim @hdima
407-
runtime/syntax/swayconfig.vim @jamespeapen
424+
runtime/syntax/swayconfig.vim @jamespeapen
408425
runtime/syntax/systemverilog.vim @Kocha
409426
runtime/syntax/tags.vim @cecamp
410427
runtime/syntax/tap.vim @petdance

Filelist

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ SRC_ALL = \
171171
src/viminfo.c \
172172
src/winclip.c \
173173
src/window.c \
174-
src/tee/tee.c \
175174
src/xxd/xxd.c \
176175
src/testdir/gen_opt_test.vim \
177176
src/testdir/README.txt \
@@ -487,7 +486,6 @@ SRC_UNIX = \
487486
src/vimtutor \
488487
src/gvimtutor \
489488
src/which.sh \
490-
src/tee/Makefile \
491489
src/xxd/Makefile \
492490

493491
# source files for both DOS and Unix
@@ -516,7 +514,7 @@ SRC_DOS_UNIX = \
516514
src/proto/if_tcl.pro \
517515
src/typemap \
518516

519-
# source files for DOS (also in the extra archive)
517+
# source files for MS-Windows (also in the extra archive)
520518
SRC_DOS = \
521519
src/GvimExt/*.mak \
522520
src/GvimExt/GvimExt.reg \
@@ -570,6 +568,7 @@ SRC_DOS = \
570568
src/proto/os_win32.pro \
571569
src/proto/os_mswin.pro \
572570
src/testdir/Make_dos.mak \
571+
src/testdir/Make_mvc.mak \
573572
src/testdir/Make_ming.mak \
574573
src/testdir/dos.vim \
575574
src/uninstall.c \
@@ -578,7 +577,10 @@ SRC_DOS = \
578577
src/vimrun.c \
579578
src/xpm_w32.c \
580579
src/xpm_w32.h \
580+
src/tee/Make_ming.mak \
581581
src/tee/Make_mvc.mak \
582+
src/tee/Makefile \
583+
src/tee/tee.c \
582584
src/xxd/Make_ming.mak \
583585
src/xxd/Make_mvc.mak \
584586
nsis/gvim.nsi \
@@ -945,9 +947,6 @@ EXTRA = \
945947
README_extra.txt \
946948
src/VisVim/VisVim.dll \
947949
runtime/vimlogo.xpm \
948-
src/tee/Makefile \
949-
src/tee/Make_mvc.mak \
950-
src/tee/tee.c \
951950

952951
# files in READMEdir that are included from the top dir
953952
IN_README_DIR = \

runtime/doc/builtin.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*builtin.txt* For Vim version 9.0. Last change: 2022 Jun 27
1+
*builtin.txt* For Vim version 9.0. Last change: 2022 Sep 10
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -471,7 +471,8 @@ remove({blob}, {idx} [, {end}]) Number/Blob
471471
remove bytes {idx}-{end} from {blob}
472472
remove({dict}, {key}) any remove entry {key} from {dict}
473473
rename({from}, {to}) Number rename (move) file from {from} to {to}
474-
repeat({expr}, {count}) String repeat {expr} {count} times
474+
repeat({expr}, {count}) List/Blob/String
475+
repeat {expr} {count} times
475476
resolve({filename}) String get filename a shortcut points to
476477
reverse({list}) List reverse {list} in-place
477478
round({expr}) Float round off {expr}
@@ -7294,8 +7295,8 @@ repeat({expr}, {count}) *repeat()*
72947295
result. Example: >
72957296
:let separator = repeat('-', 80)
72967297
< When {count} is zero or negative the result is empty.
7297-
When {expr} is a |List| the result is {expr} concatenated
7298-
{count} times. Example: >
7298+
When {expr} is a |List| or a |Blob| the result is {expr}
7299+
concatenated {count} times. Example: >
72997300
:let longlist = repeat(['a', 'b'], 3)
73007301
< Results in ['a', 'b', 'a', 'b', 'a', 'b'].
73017302

runtime/doc/eval.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 9.0. Last change: 2022 Jun 17
1+
*eval.txt* For Vim version 9.0. Last change: 2022 Sep 09
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1718,6 +1718,9 @@ Recommendation: don't do this.
17181718
Notice how execute() is used to execute an Ex command. That's ugly though.
17191719
In Vim9 script you can use a command block, see |inline-function|.
17201720

1721+
Although you can use the loop variable of a `for` command, it must still exist
1722+
when the closure is called, otherwise you get an error. *E1302*
1723+
17211724
Lambda expressions have internal names like '<lambda>42'. If you get an error
17221725
for a lambda expression, you can find what it is with the following command: >
17231726
:function <lambda>42
@@ -3409,7 +3412,8 @@ text...
34093412
it will show for three seconds and avoid a
34103413
|hit-enter| prompt. If you want to hide it before
34113414
that, press Esc in Normal mode (when it would
3412-
otherwise beep).
3415+
otherwise beep). If it disappears too soon you can
3416+
use `:messages` to see the text.
34133417
The message window is available when Vim was compiled
34143418
with the +timer and the +popupwin features.
34153419

runtime/doc/options.txt

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 9.0. Last change: 2022 Jun 27
1+
*options.txt* For Vim version 9.0. Last change: 2022 Sep 09
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -7631,6 +7631,18 @@ A jump table for the options with a short description can be found at |Q_op|.
76317631
When on, splitting a window will put the new window right of the
76327632
current one. |:vsplit|
76337633

7634+
*'splitscroll'* *'spsc'* *'nosplitscroll'* *'nospsc'*
7635+
'splitscroll' 'spsc' boolean (default on)
7636+
global
7637+
The value of this option determines the scroll behavior when opening,
7638+
closing or resizing horizontal splits. When "on", splitting a window
7639+
horizontally will keep the same relative cursor position in the old and
7640+
new window, as well windows that are resized. When "off", scrolling
7641+
will be avoided to stabilize the window content. Instead, the cursor
7642+
position will be changed when necessary. In this case, the jumplist
7643+
will be populated with the previous cursor position. Scrolling cannot
7644+
be guaranteed to be avoided when 'wrap' is enabled.
7645+
76347646
*'startofline'* *'sol'* *'nostartofline'* *'nosol'*
76357647
'startofline' 'sol' boolean (default on)
76367648
global

runtime/doc/quickref.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -926,6 +926,7 @@ Short explanation of each option: *option-list*
926926
'spellsuggest' 'sps' method(s) used to suggest spelling corrections
927927
'splitbelow' 'sb' new window from split is below the current one
928928
'splitright' 'spr' new window is put right of the current one
929+
'splitscroll' 'spsc' determines scroll behavior when splitting windows
929930
'startofline' 'sol' commands move cursor to first non-blank in line
930931
'statusline' 'stl' custom format for the status line
931932
'suffixes' 'su' suffixes that are ignored with multiple match

runtime/doc/tags

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4386,7 +4386,10 @@ E1295 textprop.txt /*E1295*
43864386
E1296 textprop.txt /*E1296*
43874387
E1297 vim9.txt /*E1297*
43884388
E1298 vim9.txt /*E1298*
4389+
E1299 tagsrch.txt /*E1299*
43894390
E13 message.txt /*E13*
4391+
E1300 userfunc.txt /*E1300*
4392+
E1302 eval.txt /*E1302*
43904393
E131 userfunc.txt /*E131*
43914394
E132 userfunc.txt /*E132*
43924395
E133 userfunc.txt /*E133*

runtime/doc/tagsrch.txt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -889,13 +889,16 @@ like |CTRL-]|.
889889

890890
The function used for generating the taglist is specified by setting the
891891
'tagfunc' option. The function will be called with three arguments:
892-
a:pattern The tag identifier or pattern used during the tag search.
893-
a:flags String containing flags to control the function behavior.
894-
a:info Dict containing the following entries:
892+
pattern The tag identifier or pattern used during the tag search.
893+
flags String containing flags to control the function behavior.
894+
info Dict containing the following entries:
895895
buf_ffname Full filename which can be used for priority.
896896
user_data Custom data String, if stored in the tag
897897
stack previously by tagfunc.
898898

899+
Note that in a legacy function "a:" needs to be prepended to the argument name
900+
when using it.
901+
899902
Currently up to three flags may be passed to the tag function:
900903
'c' The function was invoked by a normal command being processed
901904
(mnemonic: the tag function may use the context around the
@@ -931,6 +934,8 @@ If the function returns |v:null| instead of a List, a standard tag lookup will
931934
be performed instead.
932935

933936
It is not allowed to change the tagstack from inside 'tagfunc'. *E986*
937+
It is not allowed to close a window or change window from inside 'tagfunc'.
938+
*E1299*
934939

935940
The following is a hypothetical example of a function used for 'tagfunc'. It
936941
uses the output of |taglist()| to generate the result: a list of tags in the

runtime/doc/textprop.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ prop_add({lnum}, {col}, {props})
153153
the text wraps to the next screen
154154
line)
155155
below in the next screen line
156+
above just above the line
156157
When omitted "after" is used. Only one
157158
"right" property can fit in each line, if
158159
there are two ore more these will go in a

0 commit comments

Comments
 (0)