Update runtime files
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index acbcd71..e29b564 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 Nov 07
+*eval.txt* For Vim version 8.2. Last change: 2021 Nov 14
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -11900,9 +11900,9 @@
win_execute({id}, {command} [, {silent}]) *win_execute()*
Like `execute()` but in the context of window {id}.
The window will temporarily be made the current window,
- without triggering autocommands. When executing {command}
- autocommands will be triggered, this may have unexpected side
- effects. Use |:noautocmd| if needed.
+ without triggering autocommands or changing directory. When
+ executing {command} autocommands will be triggered, this may
+ have unexpected side effects. Use |:noautocmd| if needed.
Example: >
call win_execute(winid, 'set syntax=python')
< Doing the same with `setwinvar()` would not trigger
diff --git a/runtime/doc/helphelp.txt b/runtime/doc/helphelp.txt
index 3a06baf..d1a5b2b 100644
--- a/runtime/doc/helphelp.txt
+++ b/runtime/doc/helphelp.txt
@@ -1,4 +1,4 @@
-*helphelp.txt* For Vim version 8.2. Last change: 2020 Dec 29
+*helphelp.txt* For Vim version 8.2. Last change: 2021 Nov 13
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -323,21 +323,25 @@
3. Writing help files *help-writing*
For ease of use, a Vim help file for a plugin should follow the format of the
-standard Vim help files. If you are writing a new help file it's best to copy
-one of the existing files and use it as a template.
+standard Vim help files, except fot the fist line. If you are writing a new
+help file it's best to copy one of the existing files and use it as a
+template.
The first line in a help file should have the following format:
-*helpfile_name.txt* For Vim version 7.3 Last change: 2010 June 4
+*plugin_name.txt* {short description of the plugin}
-The first field is a link to the help file name. The second field describes
-the applicable Vim version. The last field specifies the last modification
-date of the file. Each field is separated by a tab.
+The first field is a help tag where ":help plugin_name" will jump to. The
+remainder of the line, after a Tab, describes the plugin purpose in a short
+way. This will show up in the "LOCAL ADDITIONS" section of the main help
+file. Check there that it shows up properly: |local-additions|.
+
+If you want to add a version number of last modification date, put it in the
+second line, right aligned.
At the bottom of the help file, place a Vim modeline to set the 'textwidth'
and 'tabstop' options and the 'filetype' to "help". Never set a global option
-in such a modeline, that can have consequences undesired by whoever reads that
-help.
+in such a modeline, that can have undesired consequences.
TAGS
diff --git a/runtime/doc/if_pyth.txt b/runtime/doc/if_pyth.txt
index 572e6bf..79b1716 100644
--- a/runtime/doc/if_pyth.txt
+++ b/runtime/doc/if_pyth.txt
@@ -1,4 +1,4 @@
-*if_pyth.txt* For Vim version 8.2. Last change: 2019 Dec 07
+*if_pyth.txt* For Vim version 8.2. Last change: 2021 Nov 12
VIM REFERENCE MANUAL by Paul Moore
@@ -63,6 +63,11 @@
There is no need to import sys, it's done by default.
+ *python-environment*
+Environment variables set in Vim are not always available in Python. This
+depends on how Vim and Python were build. Also see
+https://docs.python.org/3/library/os.html#os.environ
+
Note: Python is very sensitive to the indenting. Make sure the "class" line
and "EOF" do not have any indent.
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt
index f50377b..4b5dd63 100644
--- a/runtime/doc/map.txt
+++ b/runtime/doc/map.txt
@@ -1,4 +1,4 @@
-*map.txt* For Vim version 8.2. Last change: 2021 Oct 19
+*map.txt* For Vim version 8.2. Last change: 2021 Nov 15
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -61,6 +61,8 @@
where the map command applies. The result, including
{rhs}, is then further scanned for mappings. This
allows for nested and recursive use of mappings.
+ Note: Trailing spaces are included in the {rhs},
+ because space is a valid Normal mode command.
*:nore* *:norem*
:no[remap] {lhs} {rhs} |mapmode-nvo| *:no* *:noremap* *:nor*
@@ -1560,6 +1562,7 @@
Special cases ~
*:command-bang* *:command-bar*
*:command-register* *:command-buffer*
+ *:command-keepscript*
There are some special cases as well:
-bang The command can take a ! modifier (like :q or :w)
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 7fe371b..a0bbd3b 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 Nov 06
+*options.txt* For Vim version 8.2. Last change: 2021 Nov 15
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/pi_zip.txt b/runtime/doc/pi_zip.txt
index 2f9fe1e..787ca4d 100644
--- a/runtime/doc/pi_zip.txt
+++ b/runtime/doc/pi_zip.txt
@@ -1,4 +1,4 @@
-*pi_zip.txt* For Vim version 8.2. Last change: 2020 Jan 07
+*pi_zip.txt* For Vim version 8.2. Last change: 2021 Nov 08
+====================+
| Zip File Interface |
@@ -102,6 +102,9 @@
==============================================================================
4. History *zip-history* {{{1
+ v32 Oct 22, 2021 * to avoid an issue with a vim 8.2 patch, zipfile: has
+ been changed to zipfile:// . This often shows up
+ as zipfile:/// with zipped files that are root-based.
v29 Apr 02, 2017 * (Klartext) reported that an encrypted zip file could
opened but the swapfile held unencrypted contents.
The solution is to edit the contents of a zip file
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index 0e85475..5811cf2 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -4880,7 +4880,7 @@
:hi[ghlight] [default] {group-name} {key}={arg} ..
Add a highlight group, or change the highlighting for
an existing group. If a given color name is not
- receognized, each `colors/lists/default.vim` found on
+ recognized, each `colors/lists/default.vim` found on
|'runtimepath'| will be loaded.
See |highlight-args| for the {key}={arg} arguments.
See |:highlight-default| for the optional [default]
diff --git a/runtime/doc/tags b/runtime/doc/tags
index 442f6a2..49500cb 100644
--- a/runtime/doc/tags
+++ b/runtime/doc/tags
@@ -2307,6 +2307,7 @@
:command-completion-custom map.txt /*:command-completion-custom*
:command-completion-customlist map.txt /*:command-completion-customlist*
:command-count map.txt /*:command-count*
+:command-keepscript map.txt /*:command-keepscript*
:command-modifiers map.txt /*:command-modifiers*
:command-nargs map.txt /*:command-nargs*
:command-range map.txt /*:command-range*
@@ -5036,7 +5037,6 @@
N<Del> various.txt /*N<Del>*
NFA pattern.txt /*NFA*
NL-used-for-Nul pattern.txt /*NL-used-for-Nul*
-NOT eval.txt /*NOT*
Neovim intro.txt /*Neovim*
NetBSD-backspace options.txt /*NetBSD-backspace*
NetBeans netbeans.txt /*NetBeans*
@@ -5243,6 +5243,7 @@
WWW intro.txt /*WWW*
Win32 os_win32.txt /*Win32*
WinBar gui.txt /*WinBar*
+WinClosed autocmd.txt /*WinClosed*
WinEnter autocmd.txt /*WinEnter*
WinLeave autocmd.txt /*WinLeave*
WinNew autocmd.txt /*WinNew*
@@ -7273,7 +7274,6 @@
help-writing helphelp.txt /*help-writing*
help-xterm-window helphelp.txt /*help-xterm-window*
help.txt help.txt /*help.txt*
-helpfile_name.txt helphelp.txt /*helpfile_name.txt*
helphelp helphelp.txt /*helphelp*
helphelp.txt helphelp.txt /*helphelp.txt*
hex-editing tips.txt /*hex-editing*
@@ -8543,6 +8543,7 @@
plugin-details filetype.txt /*plugin-details*
plugin-filetype usr_41.txt /*plugin-filetype*
plugin-special usr_41.txt /*plugin-special*
+plugin_name.txt helphelp.txt /*plugin_name.txt*
pmbcs-option print.txt /*pmbcs-option*
pmbfn-option print.txt /*pmbfn-option*
popt-option print.txt /*popt-option*
@@ -8695,6 +8696,7 @@
python-commands if_pyth.txt /*python-commands*
python-current if_pyth.txt /*python-current*
python-dynamic if_pyth.txt /*python-dynamic*
+python-environment if_pyth.txt /*python-environment*
python-error if_pyth.txt /*python-error*
python-eval if_pyth.txt /*python-eval*
python-examples if_pyth.txt /*python-examples*
diff --git a/runtime/doc/terminal.txt b/runtime/doc/terminal.txt
index 47b04df..d75015a 100644
--- a/runtime/doc/terminal.txt
+++ b/runtime/doc/terminal.txt
@@ -1,4 +1,4 @@
-*terminal.txt* For Vim version 8.2. Last change: 2021 Aug 15
+*terminal.txt* For Vim version 8.2. Last change: 2021 Nov 13
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -240,7 +240,7 @@
++shell Instead of executing {command}
directly, use a shell, like with
`:!command` *E279*
- {only works on Unix currently}
+ {only works on Unix and MS-Windows}
++kill={how} When trying to close the terminal
window kill the job with {how}. See
|term_setkill()| for the values.
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index 9e73d37..05af932 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 Nov 04
+*todo.txt* For Vim version 8.2. Last change: 2021 Nov 14
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -277,6 +277,9 @@
Remove SPACE_IN_FILENAME ? It is only used for completion.
+When 'term' starts with "foot" then default t_TI and t_TE to the values used
+for the builtin xterm termcap.
+
Adding "10" to 'spellsuggest' causes spell suggestions to become very slow.
(#4087) Did patch 8.2.2379 help?
Also, z= in German on a long word can take a very long time, but CTRL-C to
@@ -658,14 +661,6 @@
Bug: "vipgw" does not put cursor back where it belongs. (Jason Franklin, 2019
Mar 5)
-Many users don't like 'thesaurus' to match so many words. (#4667, #1611)
-- when the match with the first word is partial, don't add other words on that
- line.
-- support other file formats, such as comma separated. Indicate by a prefix
- to the file in the 'thesaurus' option.
-- 'threglookexp' option: only match with first word in thesaurus file.
- (Jakson A. Aquino, 2006 Jun 14)
-
Some composing characters actually add a cell width to the character they are
on top off, making the whole thing two characters wide. (#4526)
diff --git a/runtime/doc/usr_20.txt b/runtime/doc/usr_20.txt
index ebad3c5..a94195d 100644
--- a/runtime/doc/usr_20.txt
+++ b/runtime/doc/usr_20.txt
@@ -1,4 +1,4 @@
-*usr_20.txt* For Vim version 8.2. Last change: 2006 Apr 24
+*usr_20.txt* For Vim version 8.2. Last change: 2021 Nov 13
VIM USER MANUAL - by Bram Moolenaar
@@ -289,11 +289,11 @@
use the <Up> key to recall an older command line. <Down> then takes you back
to newer commands.
-There are actually four histories. The ones we will mention here are for ":"
+There are actually five histories. The ones we will mention here are for ":"
commands and for "/" and "?" search commands. The "/" and "?" commands share
-the same history, because they are both search commands. The two other
-histories are for expressions and input lines for the input() function.
-|cmdline-history|
+the same history, because they are both search commands. The three other
+histories are for expressions, debug more commands and input lines for the
+input() function. |cmdline-history|
Suppose you have done a ":set" command, typed ten more colon commands and then
want to repeat that ":set" command again. You could press ":" and then ten