Update runtime files
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index e1e9a1b..562198e 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1,4 +1,4 @@
-*eval.txt* For Vim version 8.2. Last change: 2021 Aug 16
+*eval.txt* For Vim version 8.2. Last change: 2021 Sep 08
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -4864,14 +4864,17 @@
Find directory {name} in {path}. Supports both downwards and
upwards recursive directory searches. See |file-searching|
for the syntax of {path}.
+
Returns the path of the first found match. When the found
directory is below the current directory a relative path is
returned. Otherwise a full path is returned.
If {path} is omitted or empty then 'path' is used.
+
If the optional {count} is given, find {count}'s occurrence of
{name} in {path} instead of the first one.
When {count} is negative return all the matches in a |List|.
- This is quite similar to the ex-command |:find|.
+
+ This is quite similar to the ex-command `:find`.
{only available when compiled with the |+file_in_path|
feature}
@@ -5094,7 +5097,7 @@
The string argument {name} may start with a `:` and can
include a [range], these are skipped and not returned.
Returns an empty string if a command doesn't exist or if it's
- ambiguous (for user-defined functions).
+ ambiguous (for user-defined commands).
For example `fullcommand('s')`, `fullcommand('sub')`,
`fullcommand(':%substitute')` all return "substitute".
diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt
index 8c114a2..4af59c6 100644
--- a/runtime/doc/index.txt
+++ b/runtime/doc/index.txt
@@ -1,4 +1,4 @@
-*index.txt* For Vim version 8.2. Last change: 2021 Aug 27
+*index.txt* For Vim version 8.2. Last change: 2021 Aug 31
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt
index 18b40f7..31b820f 100644
--- a/runtime/doc/insert.txt
+++ b/runtime/doc/insert.txt
@@ -1,4 +1,4 @@
-*insert.txt* For Vim version 8.2. Last change: 2021 Aug 27
+*insert.txt* For Vim version 8.2. Last change: 2021 Aug 31
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 26b6683..a82bf82 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1,4 +1,4 @@
-*options.txt* For Vim version 8.2. Last change: 2021 Aug 28
+*options.txt* For Vim version 8.2. Last change: 2021 Sep 06
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -7176,6 +7176,8 @@
If the name "cjk" is included East Asian characters are excluded from
spell checking. This is useful when editing text that also has Asian
words.
+ Note that the "medical" dictionary does not exist, it is just an
+ example of a longer name.
*E757*
As a special case the name of a .spl file can be given as-is. The
first "_xx" in the name is removed and used as the region name
diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt
index e344ec7..04d85d7 100644
--- a/runtime/doc/repeat.txt
+++ b/runtime/doc/repeat.txt
@@ -1,4 +1,4 @@
-*repeat.txt* For Vim version 8.2. Last change: 2021 Jun 27
+*repeat.txt* For Vim version 8.2. Last change: 2021 Sep 09
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -893,8 +893,12 @@
Sets a breakpoint, that will break whenever the {expression}
evaluates to a different value. Example: >
:breakadd expr g:lnum
-
< Will break, whenever the global variable lnum changes.
+
+ Errors in evaluation are suppressed, you can use the name of a
+ variable that does not exist yet. This also means you will
+ not notice anything if the expression has a mistake.
+
Note if you watch a |script-variable| this will break
when switching scripts, since the script variable is only
valid in the script where it has been defined and if that
diff --git a/runtime/doc/tags b/runtime/doc/tags
index aa7475f..63956e5 100644
--- a/runtime/doc/tags
+++ b/runtime/doc/tags
@@ -2321,6 +2321,7 @@
:cope quickfix.txt /*:cope*
:copen quickfix.txt /*:copen*
:copy change.txt /*:copy*
+:count_quit windows.txt /*:count_quit*
:cp quickfix.txt /*:cp*
:cpf quickfix.txt /*:cpf*
:cpfile quickfix.txt /*:cpfile*
@@ -3502,6 +3503,7 @@
:y change.txt /*:y*
:yank change.txt /*:yank*
:z various.txt /*:z*
+:z! various.txt /*:z!*
:z# various.txt /*:z#*
:~ change.txt /*:~*
; motion.txt /*;*
@@ -5920,6 +5922,7 @@
compl-omni insert.txt /*compl-omni*
compl-omni-filetypes insert.txt /*compl-omni-filetypes*
compl-spelling insert.txt /*compl-spelling*
+compl-stop insert.txt /*compl-stop*
compl-tag insert.txt /*compl-tag*
compl-vim insert.txt /*compl-vim*
compl-whole-line insert.txt /*compl-whole-line*
@@ -7479,6 +7482,7 @@
i_CTRL-X_CTRL-U insert.txt /*i_CTRL-X_CTRL-U*
i_CTRL-X_CTRL-V insert.txt /*i_CTRL-X_CTRL-V*
i_CTRL-X_CTRL-Y insert.txt /*i_CTRL-X_CTRL-Y*
+i_CTRL-X_CTRL-Z insert.txt /*i_CTRL-X_CTRL-Z*
i_CTRL-X_CTRL-] insert.txt /*i_CTRL-X_CTRL-]*
i_CTRL-X_index index.txt /*i_CTRL-X_index*
i_CTRL-X_s insert.txt /*i_CTRL-X_s*
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index b7972c0..edcca49 100644
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -1,4 +1,4 @@
-*todo.txt* For Vim version 8.2. Last change: 2021 Aug 25
+*todo.txt* For Vim version 8.2. Last change: 2021 Sep 08
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -38,13 +38,15 @@
*known-bugs*
-------------------- Known bugs and current work -----------------------
+:delcommand -buffer should work
+
Vim9 - Make everything work:
+- Disallow using numbered function with "g:123" in Vim9 script? #8760
- use CheckLegacyAndVim9Success(lines) in many more places
- Check TODO items in vim9compile.c and vim9execute.c
- For builtin functions using tv_get_string*() use check_for_string() to be
more strict about the argument type (not a bool).
done: balloon_()
-- Disallow using numbered function with "g:123" in Vim9 script? #8760
- Check many more builtin function arguments at compile time.
map() could check that the return type of the function argument matches
the type of the list or dict member. (#8092)
@@ -223,6 +225,9 @@
Test_communicate_ipv6(): is flaky on many systems
Fails in line 64 of Ch_communicate, no exception is thrown.
+Patch for Template string: #4634
+Have another look at the implementation.
+
Rename getdigraphlist -> digraph_getlist() etc.
Valgrind reports memory leaks in test_options.
@@ -259,9 +264,6 @@
work. (ZyX, 2013 Sep 28) With examples: (Malcolm Rowe, 2015 Dec 24)
Also see #8487 for an example.
-Patch for Template string: #4634
-Have another look at the implementation.
-
Patch to implement the vimtutor with a plugin: #6414
Was originally written by Felipe Morales.
@@ -1039,6 +1041,9 @@
Problem with 'delcombine'. (agguser, 2017 Nov 10, #2313)
+'delcombine' does not work for the command line. (Tony Mechelynck, 2009 Jul
+20)
+
MS-Windows: buffer completion doesn't work when using backslash (or slash)
for a path separator. (xtal8, #2201)
@@ -2300,9 +2305,6 @@
Now that colnr_T is int instead of unsigned, more type casts can be removed.
-'delcombine' does not work for the command line. (Tony Mechelynck, 2009 Jul
-20)
-
Don't load macmap.vim on startup, turn it into a plugin. (Ron Aaron,
2009 Apr 7) Reminder Apr 14.
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt
index 10974ac..7adff41 100644
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -1,4 +1,4 @@
-*various.txt* For Vim version 8.2. Last change: 2021 Mar 23
+*various.txt* For Vim version 8.2. Last change: 2021 Sep 06
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -170,7 +170,7 @@
If the mark is "=", a line of dashes is printed
around the current line.
- *:z!
+ *:z!*
:[range]z![+-^.=][count]
Like ":z:", but when [count] is not specified, it
defaults to the Vim window height minus one.
diff --git a/runtime/doc/vim9.txt b/runtime/doc/vim9.txt
index 346189b..a1d106d 100644
--- a/runtime/doc/vim9.txt
+++ b/runtime/doc/vim9.txt
@@ -1,4 +1,4 @@
-*vim9.txt* For Vim version 8.2. Last change: 2021 Aug 23
+*vim9.txt* For Vim version 8.2. Last change: 2021 Sep 08
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1416,11 +1416,10 @@
To import all exported items under a specific identifier: >
import * as That from 'thatscript.vim'
-{not implemented yet: using "This as That"}
-
Then you can use "That.EXPORTED_CONST", "That.someValue", etc. You are free
to choose the name "That", but it is highly recommended to use the name of the
-script file to avoid confusion.
+script file to avoid confusion. Also avoid command names, because the name
+will shadow them.
`:import` can also be used in legacy Vim script. The imported items still
become script-local, even when the "s:" prefix is not given.
diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt
index d0d67f8..cd39dac 100644
--- a/runtime/doc/windows.txt
+++ b/runtime/doc/windows.txt
@@ -1,4 +1,4 @@
-*windows.txt* For Vim version 8.2. Last change: 2021 Apr 10
+*windows.txt* For Vim version 8.2. Last change: 2021 Sep 09
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -296,7 +296,7 @@
----------------
:q[uit]
-:{count}q[uit]
+:{count}q[uit] *:count_quit*
CTRL-W q *CTRL-W_q*
CTRL-W CTRL-Q *CTRL-W_CTRL-Q*
Without {count}: Quit the current window. If {count} is
@@ -390,7 +390,8 @@
CTRL-W o *CTRL-W_o* *E445*
CTRL-W CTRL-O *CTRL-W_CTRL-O* *:on* *:only*
Make the current window the only one on the screen. All other
- windows are closed. For {count} see |:quit| command.
+ windows are closed. For {count} see the `:quit` command
+ above |:count_quit|.
When the 'hidden' option is set, all buffers in closed windows
become hidden.