Update runtime files
diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt
index 12e20a5..ff12e5d 100644
--- a/runtime/doc/change.txt
+++ b/runtime/doc/change.txt
@@ -1,4 +1,4 @@
-*change.txt* For Vim version 8.2. Last change: 2020 Aug 15
+*change.txt* For Vim version 8.2. Last change: 2020 Nov 03
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1809,13 +1809,15 @@
With [i] case is ignored.
- With [l] sort uses the current locale. See
- `language collate` to check or set the locale used
- for ordering. For example, with "en_US.UTF8",
- Ö will be ordered after O and before P,
- whereas with the Swedish locale "sv_SE.UTF8",
- it will be after Z.
- Case is typically ignored by the locale.
+ With [l] sort uses the current collation locale.
+ Implementation details: strcoll() is used to compare
+ strings. See |:language| to check or set the collation
+ locale. Example: >
+ :language collate en_US.UTF-8
+ :%sort l
+< |v:collate| can also used to check the current locale.
+ Sorting using the locale typically ignores case.
+ This does not work properly on Mac.
Options [n][f][x][o][b] are mutually exclusive.
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index e487d3e..b573a11 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1,4 +1,4 @@
-*eval.txt* For Vim version 8.2. Last change: 2020 Oct 23
+*eval.txt* For Vim version 8.2. Last change: 2020 Nov 04
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -3798,7 +3798,7 @@
not need to be the first letter: >
confirm("file has been modified", "&Save\nSave &All")
< For the console, the first letter of each choice is used as
- the default shortcut key.
+ the default shortcut key. Case is ignored.
The optional {default} argument is the number of the choice
that is made if the user hits <CR>. Use 1 to make the first
@@ -4427,10 +4427,10 @@
|Dictionaries|.
If they are |Lists|: Append {expr2} to {expr1}.
- If {expr3} is given insert the items of {expr2} before item
- {expr3} in {expr1}. When {expr3} is zero insert before the
- first item. When {expr3} is equal to len({expr1}) then
- {expr2} is appended.
+ If {expr3} is given insert the items of {expr2} before the
+ item with index {expr3} in {expr1}. When {expr3} is zero
+ insert before the first item. When {expr3} is equal to
+ len({expr1}) then {expr2} is appended.
Examples: >
:echo sort(extend(mylist, [7, 5]))
:call extend(mylist, [2, 3], 1)
@@ -8319,15 +8319,18 @@
Returns an empty string when not recording. See |q|.
reltime([{start} [, {end}]]) *reltime()*
- Return an item that represents a time value. The format of
- the item depends on the system. It can be passed to
- |reltimestr()| to convert it to a string or |reltimefloat()|
- to convert to a Float.
- Without an argument it returns the current time.
+ Return an item that represents a time value. The item is a
+ list with items that depend on the system. In Vim 9 script
+ list<any> can be used.
+ The item can be passed to |reltimestr()| to convert it to a
+ string or |reltimefloat()| to convert to a Float.
+
+ Without an argument reltime() returns the current time.
With one argument is returns the time passed since the time
specified in the argument.
With two arguments it returns the time passed between {start}
and {end}.
+
The {start} and {end} arguments must be values returned by
reltime().
@@ -9700,15 +9703,25 @@
When {func} is given and it is '1' or 'i' then case is
ignored.
- When {func} is given and it is 'l' then the current locale
- is used for ordering. See `language collate` to check or set
- the locale used for ordering. For example, with "en_US.UTF8",
- Ö will be ordered after O and before P, whereas with the
- Swedish locale "sv_SE.UTF8", it will be after Z.
- Case is typically ignored by the locale.
+ When {func} is given and it is 'l' then the current collation
+ locale is used for ordering. Implementation details: strcoll()
+ is used to compare strings. See |:language| check or set the
+ collation locale. |v:collate| can also be used to check the
+ current locale. Sorting using the locale typically ignores
+ case. Example: >
+ " ö is sorted similarly to o with English locale.
+ :language collate en_US.UTF8
+ :echo sort(['n', 'o', 'O', 'ö', 'p', 'z'], 'l')
+< ['n', 'o', 'O', 'ö', 'p', 'z'] ~
+>
+ " ö is sorted after z with Swedish locale.
+ :language collate sv_SE.UTF8
+ :echo sort(['n', 'o', 'O', 'ö', 'p', 'z'], 'l')
+< ['n', 'o', 'O', 'p', 'z', 'ö'] ~
+ This does not work properly on Mac.
When {func} is given and it is 'n' then all items will be
- sorted numerical (Implementation detail: This uses the
+ sorted numerical (Implementation detail: this uses the
strtod() function to parse numbers, Strings, Lists, Dicts and
Funcrefs will be considered as being 0).
@@ -11593,7 +11606,7 @@
mksession Compiled with support for |:mksession|.
modify_fname Compiled with file name modifiers. |filename-modifiers|
(always true)
-mouse Compiled with support mouse.
+mouse Compiled with support for mouse.
mouse_dec Compiled with support for Dec terminal mouse.
mouse_gpm Compiled with support for gpm (Linux console mouse)
mouse_gpm_enabled GPM mouse is working
diff --git a/runtime/doc/netbeans.txt b/runtime/doc/netbeans.txt
index f780e3b..cc545f1 100644
--- a/runtime/doc/netbeans.txt
+++ b/runtime/doc/netbeans.txt
@@ -1,4 +1,4 @@
-*netbeans.txt* For Vim version 8.2. Last change: 2020 Aug 15
+*netbeans.txt* For Vim version 8.2. Last change: 2020 Nov 02
VIM REFERENCE MANUAL by Gordon Prieur et al.
diff --git a/runtime/doc/sign.txt b/runtime/doc/sign.txt
index 46cb9b5..9c52587 100644
--- a/runtime/doc/sign.txt
+++ b/runtime/doc/sign.txt
@@ -1,4 +1,4 @@
-*sign.txt* For Vim version 8.2. Last change: 2020 Aug 31
+*sign.txt* For Vim version 8.2. Last change: 2020 Oct 28
VIM REFERENCE MANUAL by Gordon Prieur
@@ -81,6 +81,10 @@
independently of the sign group. The default priority for a sign is 10. The
priority is assigned at the time of placing a sign.
+When two signs with the same priority are present, and one has an icon or text
+in the signcolumn while the other has line highlighting, then both are
+displayed.
+
When the line on which the sign is placed is deleted, the sign is moved to the
next line (or the last line of the buffer, if there is no next line). When
the delete is undone the sign does not move back.
@@ -458,11 +462,11 @@
entries
The dictionary for each sign contains the following entries:
- group sign group. Set to '' for the global group.
- id identifier of the sign
- lnum line number where the sign is placed
- name name of the defined sign
- priority sign priority
+ group sign group. Set to '' for the global group.
+ id identifier of the sign
+ lnum line number where the sign is placed
+ name name of the defined sign
+ priority sign priority
The returned signs in a buffer are ordered by their line
number and priority.
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index 48a7946..713bad6 100644
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -1,4 +1,4 @@
-*todo.txt* For Vim version 8.2. Last change: 2020 Oct 26
+*todo.txt* For Vim version 8.2. Last change: 2020 Nov 04
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -38,12 +38,13 @@
*known-bugs*
-------------------- Known bugs and current work -----------------------
-Sign highlight in signcolumn disappears if there is line highlighting.
+test_vim9_func fails: type from default value not used.
+
+Without extra sleeps netbeans test has valgrind errors.
+PR #7248 from Yegappan - test doesn't fail without code changes
Making everything work:
-- Test all command modifiers.
-- Check many more builtin function arguments at compile time.
-- Closure arguments should be more strict, like any function call?
+- Closure argument call should not always set varargs, like any function call?
- Invoke user command in a :def function
- Make map() give an error if the resulting type is wrong.
Add mapnew() or mapcopy() to create a new List/Dict for the result, which
@@ -54,6 +55,7 @@
- In autocmd: use legacy syntax, not whatever the current script uses?
- need to check type when a declaration specifies a type: #6507
let nr: number = 'asdf'
+- Check many more builtin function arguments at compile time.
- Make sure that in vim9script a function call without namespace only finds
the script-local function, not a global one.
- Make sure that where a callback is expected a function can be used (without
@@ -279,8 +281,6 @@
Remove SPACE_IN_FILENAME ? It is only used for completion.
-Patch to use collation based sorting. (Christian Brabandt, #6229)
-
Add 'termguiattr' option, use "gui=" attributes in the terminal? Would work
with 'termguicolors'. #1740
diff --git a/runtime/doc/vim.1 b/runtime/doc/vim.1
index a2ca0e2..f32c067 100644
--- a/runtime/doc/vim.1
+++ b/runtime/doc/vim.1
@@ -459,6 +459,9 @@
\-\-socketid {id}
GTK GUI only: Use the GtkPlug mechanism to run gvim in another window.
.TP
+\-\-startuptime {file}
+During startup write timing messages to the file {fname}.
+.TP
\-\-version
Print version information and exit.
.SH ON-LINE HELP
diff --git a/runtime/doc/vim.man b/runtime/doc/vim.man
index e905a82..6ab20e9 100644
--- a/runtime/doc/vim.man
+++ b/runtime/doc/vim.man
@@ -345,6 +345,9 @@
GTK GUI only: Use the GtkPlug mechanism to run gvim in an‐
other window.
+ --startuptime {file}
+ During startup write timing messages to the file {fname}.
+
--version Print version information and exit.
ON-LINE HELP