Skip to content

Commit 1b884a0

Browse files
committed
Update runtime files.
1 parent 70249ee commit 1b884a0

20 files changed

Lines changed: 1744 additions & 213 deletions

File tree

.github/CODEOWNERS

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ runtime/autoload/rubycomplete.vim @segfault @dkearns
2020
runtime/autoload/tar.vim @cecamp
2121
runtime/autoload/vimball.vim @cecamp
2222
runtime/autoload/zip.vim @cecamp
23+
runtime/autoload/xmlformat.vim @chrisbra
2324
runtime/compiler/checkstyle.vim @dkearns
2425
runtime/compiler/cucumber.vim @tpope
2526
runtime/compiler/dart.vim @dkearns
@@ -57,6 +58,7 @@ runtime/compiler/tsc.vim @dkearns
5758
runtime/compiler/typedoc.vim @dkearns
5859
runtime/compiler/xmllint.vim @dkearns
5960
runtime/compiler/xo.vim @dkearns
61+
runtime/compiler/zsh.vim @dkearns
6062
runtime/doc/pi_getscript.txt @cecamp
6163
runtime/doc/pi_logipat.txt @cecamp
6264
runtime/doc/pi_netrw.txt @cecamp
@@ -65,6 +67,7 @@ runtime/doc/pi_vimball.txt @cecamp
6567
runtime/doc/pi_zip.txt @cecamp
6668
runtime/ftplugin/awk.vim @dkearns
6769
runtime/ftplugin/bst.vim @tpope
70+
runtime/ftplugin/cfg.vim @chrisbra
6871
runtime/ftplugin/css.vim @dkearns
6972
runtime/ftplugin/cucumber.vim @tpope
7073
runtime/ftplugin/eiffel.vim @dkearns
@@ -78,9 +81,11 @@ runtime/ftplugin/haml.vim @tpope
7881
runtime/ftplugin/hgcommit.vim @k-takata
7982
runtime/ftplugin/javascript.vim @dkearns
8083
runtime/ftplugin/javascriptreact.vim @dkearns
84+
runtime/ftplugin/kconfig.vim @chrisbra
8185
runtime/ftplugin/liquid.vim @tpope
8286
runtime/ftplugin/markdown.vim @tpope
8387
runtime/ftplugin/matlab.vim @cecamp
88+
runtime/ftplugin/nroff.vim @a-vrma
8489
runtime/ftplugin/nsis.vim @k-takata
8590
runtime/ftplugin/pdf.vim @tpope
8691
runtime/ftplugin/ruby.vim @tpope @dkearns
@@ -89,7 +94,10 @@ runtime/ftplugin/scss.vim @tpope
8994
runtime/ftplugin/tmux.vim @ericpruitt
9095
runtime/ftplugin/typescript.vim @dkearns
9196
runtime/ftplugin/typescriptreact.vim @dkearns
97+
runtime/ftplugin/xml.vim @chrisbra
98+
runtime/ftplugin/zsh.vim @chrisbra
9299
runtime/indent/bst.vim @tpope
100+
runtime/syntax/cs.vim @nickspoons
93101
runtime/indent/cucumber.vim @tpope
94102
runtime/indent/dosbatch.vim @k-takata
95103
runtime/indent/eruby.vim @tpope @dkearns
@@ -100,7 +108,11 @@ runtime/indent/nsis.vim @k-takata
100108
runtime/indent/ruby.vim @AndrewRadev @dkearns
101109
runtime/indent/sass.vim @tpope
102110
runtime/indent/scss.vim @tpope
111+
runtime/indent/sh.vim @chrisbra
112+
runtime/indent/xml.vim @chrisbra
113+
runtime/indent/zsh.vim @chrisbra
103114
runtime/indent/teraterm.vim @k-takata
115+
runtime/pack/dist/opt/matchit/ @chrisbra
104116
runtime/plugin/getscriptPlugin.vim @cecamp
105117
runtime/plugin/logiPat.vim @cecamp
106118
runtime/plugin/netrwPlugin.vim @cecamp
@@ -112,9 +124,13 @@ runtime/syntax/asm.vim @dkearns
112124
runtime/syntax/asmh8300.vim @dkearns
113125
runtime/syntax/awk.vim @dkearns
114126
runtime/syntax/bst.vim @tpope
127+
runtime/syntax/cabalconfig.vim @coot
128+
runtime/syntax/cabalproject.vim @coot
129+
runtime/syntax/cs.vim @nickspoons
115130
runtime/syntax/csh.vim @cecamp
116131
runtime/syntax/cucumber.vim @tpope
117132
runtime/syntax/dcl.vim @cecamp
133+
runtime/syntax/dtd.vim @chrisbra
118134
runtime/syntax/elmfilt.vim @cecamp
119135
runtime/syntax/eruby.vim @tpope @dkearns
120136
runtime/syntax/exports.vim @cecamp
@@ -123,7 +139,9 @@ runtime/syntax/gitcommit.vim @tpope
123139
runtime/syntax/gitconfig.vim @tpope
124140
runtime/syntax/gitrebase.vim @tpope
125141
runtime/syntax/haml.vim @tpope
142+
runtime/syntax/haskell.vim @coot
126143
runtime/syntax/hgcommit.vim @k-takata
144+
runtime/syntax/kconfig.vim @chrisbra
127145
runtime/syntax/lex.vim @cecamp
128146
runtime/syntax/liquid.vim @tpope
129147
runtime/syntax/lisp.vim @cecamp
@@ -138,12 +156,15 @@ runtime/syntax/nsis.vim @k-takata
138156
runtime/syntax/pdf.vim @tpope
139157
runtime/syntax/php.vim @TysonAndre
140158
runtime/syntax/privoxy.vim @dkearns
159+
runtime/syntax/rc.vim @chrisbra
141160
runtime/syntax/rpcgen.vim @cecamp
142161
runtime/syntax/ruby.vim @dkearns
143162
runtime/syntax/sass.vim @tpope
144163
runtime/syntax/scss.vim @tpope
145164
runtime/syntax/sh.vim @cecamp
146165
runtime/syntax/sm.vim @cecamp
166+
runtime/syntax/sqloracle.vim @chrisbra
167+
runtime/syntax/sshdconfig.vim @Jakuje
147168
runtime/syntax/tags.vim @cecamp
148169
runtime/syntax/teraterm.vim @k-takata
149170
runtime/syntax/tex.vim @cecamp
@@ -154,5 +175,8 @@ runtime/syntax/wget.vim @dkearns
154175
runtime/syntax/xbl.vim @dkearns
155176
runtime/syntax/xmath.vim @cecamp
156177
runtime/syntax/xslt.vim @Boobies
178+
runtime/syntax/xml.vim @chrisbra
157179
runtime/syntax/xxd.vim @cecamp
158180
runtime/syntax/yacc.vim @cecamp
181+
runtime/syntax/zsh.vim @chrisbra
182+
src/po/de.po @chrisbra

runtime/doc/autocmd.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*autocmd.txt* For Vim version 8.2. Last change: 2020 Nov 12
1+
*autocmd.txt* For Vim version 8.2. Last change: 2020 Dec 10
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -70,7 +70,8 @@ effects. Be careful not to destroy your text.
7070
The special pattern <buffer> or <buffer=N> defines a buffer-local autocommand.
7171
See |autocmd-buflocal|.
7272

73-
If the `:autocmd` is in Vim9 script then {cmd} will be executed as in Vim9
73+
If the `:autocmd` is in Vim9 script (a script that starts with `:vim9script`
74+
and in a `:def` function) then {cmd} will be executed as in Vim9
7475
script. Thus this depends on where the autocmd is defined, not where it is
7576
triggered.
7677

runtime/doc/eval.txt

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 8.2. Last change: 2020 Nov 11
1+
*eval.txt* For Vim version 8.2. Last change: 2020 Dec 02
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -5059,9 +5059,9 @@ getbufvar({expr}, {varname} [, {def}]) *getbufvar()*
50595059
The result is the value of option or local buffer variable
50605060
{varname} in buffer {expr}. Note that the name without "b:"
50615061
must be used.
5062-
When {varname} is empty returns a dictionary with all the
5062+
When {varname} is empty returns a |Dictionary| with all the
50635063
buffer-local variables.
5064-
When {varname} is equal to "&" returns a dictionary with all
5064+
When {varname} is equal to "&" returns a |Dictionary| with all
50655065
the buffer-local options.
50665066
Otherwise, when {varname} starts with "&" returns the value of
50675067
a buffer-local option.
@@ -5533,8 +5533,8 @@ getloclist({nr} [, {what}]) *getloclist()*
55335533
|location-list-file-window| for more
55345534
details.
55355535

5536-
Returns a Dictionary with default values if there is no location
5537-
list for the window {nr}.
5536+
Returns a |Dictionary| with default values if there is no
5537+
location list for the window {nr}.
55385538
Returns an empty Dictionary if window {nr} does not exist.
55395539

55405540
Examples (See also |getqflist-examples|): >
@@ -5647,7 +5647,7 @@ getpos({expr}) Get the position for {expr}. For possible values of {expr}
56475647

56485648

56495649
getqflist([{what}]) *getqflist()*
5650-
Returns a list with all the current quickfix errors. Each
5650+
Returns a |List| with all the current quickfix errors. Each
56515651
list item is a dictionary with these entries:
56525652
bufnr number of buffer that has the file name, use
56535653
bufname() to get the name
@@ -7153,7 +7153,8 @@ mapcheck({name} [, {mode} [, {abbr}]]) *mapcheck()*
71537153
mapnew({expr1}, {expr2}) *mapnew()*
71547154
Like |map()| but instead of replacing items in {expr1} a new
71557155
List or Dictionary is created and returned. {expr1} remains
7156-
unchanged.
7156+
unchanged. Items can still be changed by {expr2}, if you
7157+
don't want that use |deepcopy()| first.
71577158

71587159

71597160
mapset({mode}, {abbr}, {dict}) *mapset()*
@@ -7382,7 +7383,7 @@ matchend({expr}, {pat} [, {start} [, {count}]]) *matchend()*
73827383

73837384

73847385
matchfuzzy({list}, {str} [, {dict}]) *matchfuzzy()*
7385-
If {list} is a list of strings, then returns a list with all
7386+
If {list} is a list of strings, then returns a |List| with all
73867387
the strings in {list} that fuzzy match {str}. The strings in
73877388
the returned list are sorted based on the matching score.
73887389

@@ -10660,7 +10661,7 @@ tagfiles() Returns a |List| with the file names used to search for tags
1066010661

1066110662

1066210663
taglist({expr} [, {filename}]) *taglist()*
10663-
Returns a list of tags matching the regular expression {expr}.
10664+
Returns a |List| of tags matching the regular expression {expr}.
1066410665

1066510666
If {filename} is passed it is used to prioritize the results
1066610667
in the same way that |:tselect| does. See |tag-priority|.
@@ -10752,7 +10753,7 @@ term_ functions are documented here: |terminal-function-details|
1075210753

1075310754

1075410755
terminalprops() *terminalprops()*
10755-
Returns a dictionary with properties of the terminal that Vim
10756+
Returns a |Dictionary| with properties of the terminal that Vim
1075610757
detected from the response to |t_RV| request. See
1075710758
|v:termresponse| for the response itself. If |v:termresponse|
1075810759
is empty most values here will be 'u' for unknown.
@@ -11159,7 +11160,7 @@ win_execute({id}, {command} [, {silent}]) *win_execute()*
1115911160
GetCommand()->win_execute(winid)
1116011161

1116111162
win_findbuf({bufnr}) *win_findbuf()*
11162-
Returns a list with |window-ID|s for windows that contain
11163+
Returns a |List| with |window-ID|s for windows that contain
1116311164
buffer {bufnr}. When there is none the list is empty.
1116411165

1116511166
Can also be used as a |method|: >

runtime/doc/helphelp.txt

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*helphelp.txt* For Vim version 8.2. Last change: 2020 Jul 27
1+
*helphelp.txt* For Vim version 8.2. Last change: 2020 Dec 05
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -161,6 +161,25 @@ files in the directories specified in the 'runtimepath' option.
161161
The initial height of the help window can be set with the 'helpheight' option
162162
(default 20).
163163

164+
When the help buffer is created, several local options are set to make sure
165+
the help text is displayed as it was intended:
166+
'iskeyword' nearly all ASCII chars except ' ', '*', '"' and '|'
167+
'foldmethod' "manual"
168+
'tabstop' 8
169+
'arabic' off
170+
'binary' off
171+
'buflisted' off
172+
'cursorbind' off
173+
'diff' off
174+
'foldenable' off
175+
'list' off
176+
'modifiable' off
177+
'number' off
178+
'relativenumber' off
179+
'rightleft' off
180+
'scrollbind' off
181+
'spell' off
182+
164183
Jump to specific subjects by using tags. This can be done in two ways:
165184
- Use the "CTRL-]" command while standing on the name of a command or option.
166185
This only works when the tag is a keyword. "<C-Leftmouse>" and

runtime/doc/map.txt

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*map.txt* For Vim version 8.2. Last change: 2020 Nov 21
1+
*map.txt* For Vim version 8.2. Last change: 2020 Dec 10
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -909,7 +909,7 @@ Insert mode to avoid every key with a modifier causing Insert mode to end.
909909
1.12 MAPPING AN OPERATOR *:map-operator*
910910

911911
An operator is used before a {motion} command. To define your own operator
912-
you must create mapping that first sets the 'operatorfunc' option and then
912+
you must create a mapping that first sets the 'operatorfunc' option and then
913913
invoke the |g@| operator. After the user types the {motion} command the
914914
specified function will be called.
915915

@@ -1321,15 +1321,15 @@ last defined. Example: >
13211321
See |:verbose-cmd| for more information.
13221322

13231323
*E174* *E182*
1324-
:com[mand][!] [{attr}...] {cmd} {rep}
1324+
:com[mand][!] [{attr}...] {cmd} {repl}
13251325
Define a user command. The name of the command is
1326-
{cmd} and its replacement text is {rep}. The command's
1327-
attributes (see below) are {attr}. If the command
1328-
already exists, an error is reported, unless a ! is
1329-
specified, in which case the command is redefined.
1330-
There is one exception: When sourcing a script again,
1331-
a command that was previously defined in that script
1332-
will be silently replaced.
1326+
{cmd} and its replacement text is {repl}. The
1327+
command's attributes (see below) are {attr}. If the
1328+
command already exists, an error is reported, unless a
1329+
! is specified, in which case the command is
1330+
redefined. There is one exception: When sourcing a
1331+
script again, a command that was previously defined in
1332+
that script will be silently replaced.
13331333

13341334

13351335
:delc[ommand] {cmd} *:delc* *:delcommand* *E184*
@@ -1539,11 +1539,11 @@ feature. Use the full name for new scripts.
15391539

15401540
Replacement text ~
15411541

1542-
The replacement text for a user defined command is scanned for special escape
1543-
sequences, using <...> notation. Escape sequences are replaced with values
1544-
from the entered command line, and all other text is copied unchanged. The
1545-
resulting string is executed as an Ex command. To avoid the replacement use
1546-
<lt> in place of the initial <. Thus to include "<bang>" literally use
1542+
The replacement text {repl} for a user defined command is scanned for special
1543+
escape sequences, using <...> notation. Escape sequences are replaced with
1544+
values from the entered command line, and all other text is copied unchanged.
1545+
The resulting string is executed as an Ex command. To avoid the replacement
1546+
use <lt> in place of the initial <. Thus to include "<bang>" literally use
15471547
"<lt>bang>".
15481548

15491549
The valid escape sequences are
@@ -1669,6 +1669,11 @@ errors and the "update" command to write modified buffers): >
16691669
This will invoke: >
16701670
:call Allargs("%s/foo/bar/ge|update")
16711671
<
1672+
If the command is defined in Vim9 script (a script that starts with
1673+
`:vim9script` and in a `:def` function) then {repl} will be executed as in Vim9
1674+
script. Thus this depends on where the command is defined, not where it is
1675+
used.
1676+
16721677
When defining a user command in a script, it will be able to call functions
16731678
local to the script and use mappings local to the script. When the user
16741679
invokes the user command, it will run in the context of the script it was

runtime/doc/pattern.txt

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*pattern.txt* For Vim version 8.2. Last change: 2020 Sep 01
1+
*pattern.txt* For Vim version 8.2. Last change: 2020 Dec 06
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -361,8 +361,8 @@ For starters, read chapter 27 of the user manual |usr_27.txt|.
361361
*/atom*
362362
5. An atom can be one of a long list of items. Many atoms match one character
363363
in the text. It is often an ordinary character or a character class.
364-
Braces can be used to make a pattern into an atom. The "\z(\)" construct
365-
is only for syntax highlighting.
364+
Parentheses can be used to make a pattern into an atom. The "\z(\)"
365+
construct is only for syntax highlighting.
366366

367367
atom ::= ordinary-atom |/ordinary-atom|
368368
or \( pattern \) |/\(|
@@ -676,7 +676,7 @@ overview.
676676

677677
Note that using "\&" works the same as using "\@=": "foo\&.." is the
678678
same as "\(foo\)\@=..". But using "\&" is easier, you don't need the
679-
braces.
679+
parentheses.
680680

681681

682682
*/\@!*
@@ -1069,8 +1069,8 @@ x A single character, with no special meaning, matches itself
10691069

10701070
[] (with 'nomagic': \[]) */[]* */\[]* */\_[]* */collection*
10711071
\_[]
1072-
A collection. This is a sequence of characters enclosed in brackets.
1073-
It matches any single character in the collection.
1072+
A collection. This is a sequence of characters enclosed in square
1073+
brackets. It matches any single character in the collection.
10741074
Example matches ~
10751075
[xyz] any 'x', 'y' or 'z'
10761076
[a-zA-Z]$ any alphabetic character at the end of a line
@@ -1129,11 +1129,12 @@ x A single character, with no special meaning, matches itself
11291129
*[:ident:]* [:ident:] identifier character (same as "\i")
11301130
*[:keyword:]* [:keyword:] keyword character (same as "\k")
11311131
*[:fname:]* [:fname:] file name character (same as "\f")
1132-
The brackets in character class expressions are additional to the
1133-
brackets delimiting a collection. For example, the following is a
1134-
plausible pattern for a UNIX filename: "[-./[:alnum:]_~]\+" That is,
1135-
a list of at least one character, each of which is either '-', '.',
1136-
'/', alphabetic, numeric, '_' or '~'.
1132+
The square brackets in character class expressions are additional to
1133+
the square brackets delimiting a collection. For example, the
1134+
following is a plausible pattern for a UNIX filename:
1135+
"[-./[:alnum:]_~]\+". That is, a list of at least one character,
1136+
each of which is either '-', '.', '/', alphabetic, numeric, '_' or
1137+
'~'.
11371138
These items only work for 8-bit characters, except [:lower:] and
11381139
[:upper:] also work for multibyte characters when using the new
11391140
regexp engine. See |two-engines|. In the future these items may

0 commit comments

Comments
 (0)