summaryrefslogtreecommitdiffstats
path: root/runtime/doc
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-11-27 10:57:26 +0000
committerBram Moolenaar <Bram@vim.org>2021-11-27 10:57:26 +0000
commit6304be625ce44dcfedc6735164d0b853578581c8 (patch)
treedb8bb5f50af170304917f08bbc78236cfe354bed /runtime/doc
parent7824fc80f675b8098e6483ce082e287aad14b6da (diff)
Update runtime files.
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/cmdline.txt10
-rw-r--r--runtime/doc/eval.txt1
-rw-r--r--runtime/doc/options.txt2
-rw-r--r--runtime/doc/repeat.txt6
-rw-r--r--runtime/doc/sign.txt11
-rw-r--r--runtime/doc/tags3
-rw-r--r--runtime/doc/todo.txt10
-rw-r--r--runtime/doc/vim9.txt6
8 files changed, 29 insertions, 20 deletions
diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt
index bf61024875..eca741f753 100644
--- a/runtime/doc/cmdline.txt
+++ b/runtime/doc/cmdline.txt
@@ -1,4 +1,4 @@
-*cmdline.txt* For Vim version 8.2. Last change: 2021 Aug 06
+*cmdline.txt* For Vim version 8.2. Last change: 2021 Nov 22
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -925,9 +925,11 @@ Note: these are typed literally, they are not special keys!
*:<sfile>* *<sfile>*
<sfile> When executing a ":source" command, is replaced with the
file name of the sourced file. *E498*
- When executing a function, is replaced with the call stack,
- as with <stack> (this is for backwards compatibility, using
- <stack> is preferred).
+ When executing a legacy function, is replaced with the call
+ stack, as with <stack> (this is for backwards
+ compatibility, using <stack> is preferred).
+ In Vim9 script using <sfile> in a function gives error
+ *E1245* .
Note that filename-modifiers are useless when <sfile> is
not used inside a script.
*:<stack>* *<stack>*
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 46b3663b3d..004f9d4bbe 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -9770,6 +9770,7 @@ setbufline({buf}, {lnum}, {text}) *setbufline()*
For the use of {buf}, see |bufname()| above.
{lnum} is used like with |setline()|.
+ Use "$" to refer to the last line in buffer {buf}.
When {lnum} is just below the last line the {text} will be
added below the last line.
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index f5f570ba38..c7b280f684 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 18
+*options.txt* For Vim version 8.2. Last change: 2021 Nov 24
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt
index 04d85d7b37..049fabb30e 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 Sep 09
+*repeat.txt* For Vim version 8.2. Last change: 2021 Nov 24
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -792,6 +792,10 @@ won't be very helpful.
There is a separate command-line history for debug mode.
+NOTE: In Vim9 script, if a command is written at the script level and
+continues on the next line, not using the old way with a backslash for line
+continuation, only the first line is printed before the debugging prompt.
+
The line number for a function line is relative to the start of the function.
If you have trouble figuring out where you are, edit the file that defines
the function in another Vim, search for the start of the function and do
diff --git a/runtime/doc/sign.txt b/runtime/doc/sign.txt
index 96658e544d..489f3d8b52 100644
--- a/runtime/doc/sign.txt
+++ b/runtime/doc/sign.txt
@@ -148,6 +148,10 @@ See |sign_define()| for the equivalent Vim script function.
texthl={group}
Highlighting group used for the text item.
+ culhl={group}
+ Highlighting group used for the text item when the cursor is
+ on the same line as the sign and 'cursorline' is enabled.
+
Example: >
:sign define MySign text=>> texthl=Search linehl=DiffText
<
@@ -173,13 +177,6 @@ See |sign_getdefined()| for the equivalent Vim script function.
:sign list {name}
Lists one defined sign and its attributes.
- culhl={group}
- Highlighting group used for the text item when the cursor is
- on the same line as the sign and 'cursorline' is enabled.
-
- Example: >
- :sign define MySign text=>> texthl=Search linehl=DiffText
-<
PLACING SIGNS *:sign-place* *E158*
diff --git a/runtime/doc/tags b/runtime/doc/tags
index 13cf8ddafc..768b98c6e4 100644
--- a/runtime/doc/tags
+++ b/runtime/doc/tags
@@ -3999,6 +3999,7 @@ E1239 eval.txt /*E1239*
E124 eval.txt /*E124*
E1243 options.txt /*E1243*
E1244 message.txt /*E1244*
+E1245 cmdline.txt /*E1245*
E125 eval.txt /*E125*
E126 eval.txt /*E126*
E127 eval.txt /*E127*
@@ -7321,7 +7322,9 @@ hl-Cursor syntax.txt /*hl-Cursor*
hl-CursorColumn syntax.txt /*hl-CursorColumn*
hl-CursorIM syntax.txt /*hl-CursorIM*
hl-CursorLine syntax.txt /*hl-CursorLine*
+hl-CursorLineFold syntax.txt /*hl-CursorLineFold*
hl-CursorLineNr syntax.txt /*hl-CursorLineNr*
+hl-CursorLineSign syntax.txt /*hl-CursorLineSign*
hl-DiffAdd syntax.txt /*hl-DiffAdd*
hl-DiffChange syntax.txt /*hl-DiffChange*
hl-DiffDelete syntax.txt /*hl-DiffDelete*
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index 05af932de8..4793abd832 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 14
+*todo.txt* For Vim version 8.2. Last change: 2021 Nov 26
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -38,9 +38,7 @@ browser use: https://github.com/vim/vim/issues/1234
*known-bugs*
-------------------- Known bugs and current work -----------------------
-mark ends up on last byte of char. (#9047)
-
-Delete runtime/rgb.txt after a while
+refactor ex_let_one() to subfunctions.
Vim9 - Make everything work:
- "filter #pat# ls" should work, #pat# is not a comment
@@ -222,8 +220,6 @@ Terminal emulator window:
- When 'encoding' is not utf-8, or the job is using another encoding, setup
conversions.
-Include patch #6290: recognize shell directory change.
-
When using 'cryptmethod' xchaha20 the undo file is not encrypted.
Need to handle extra bytes.
@@ -233,6 +229,8 @@ Fails in line 64 of Ch_communicate, no exception is thrown.
Patch for Template string: #4634
Have another look at the implementation.
+Add expanding <script> which works like <sfile> everywhere. #9189
+
Rename getdigraphlist -> digraph_getlist() etc.
Valgrind reports memory leaks in test_options.
diff --git a/runtime/doc/vim9.txt b/runtime/doc/vim9.txt
index 576456af0e..1782f179a3 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 Sep 13
+*vim9.txt* For Vim version 8.2. Last change: 2021 Nov 22
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -821,6 +821,10 @@ error. Example: >
For loop ~
+The loop variable must not exist yet: >
+ var i = 1
+ for i in [1, 2, 3] # Error!
+
Legacy Vim script has some tricks to make a for loop over a list handle
deleting items at the current or previous item. In Vim9 script it just uses
the index, if items are deleted then items in the list will be skipped.