summaryrefslogtreecommitdiffstats
path: root/runtime/doc
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-03-14 08:19:51 +0100
committerBram Moolenaar <Bram@vim.org>2020-03-14 08:19:51 +0100
commitb17893aa940dc7d45421f875f5d90855880aad27 (patch)
tree57dc220f610b9b7a10f3eb3ae6a8df27214b8177 /runtime/doc
parent965fd8d4dc5e84f612d8fc1efeaa78bd17842c9b (diff)
Update runtime files
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/eval.txt34
-rw-r--r--runtime/doc/options.txt8
-rw-r--r--runtime/doc/textprop.txt6
-rw-r--r--runtime/doc/todo.txt53
-rw-r--r--runtime/doc/vim9.txt6
5 files changed, 78 insertions, 29 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index fb4db5d407..5dfc08ea48 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 Feb 22
+*eval.txt* For Vim version 8.2. Last change: 2020 Mar 14
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -4357,6 +4357,8 @@ feedkeys({string} [, {mode}]) *feedkeys()*
'L' Lowlevel input. Only works for Unix or when using the
GUI. Keys are used as if they were coming from the
terminal. Other flags are not used. *E980*
+ When a CTRL-C interrupts it sets the internal
+ "got_int" flag.
'i' Insert the string instead of appending (see above).
'x' Execute commands until typeahead is empty. This is
similar to using ":normal!". You can call feedkeys()
@@ -5829,6 +5831,15 @@ has({feature}) The result is a Number, which is 1 if the feature {feature} is
supported, zero otherwise. The {feature} argument is a
string. See |feature-list| below.
Also see |exists()|.
+ Note that to skip code that has a syntax error when the
+ feature is not available, Vim may skip the rest of the line
+ and miss a following `endif`. Therfore put the `endif` on a
+ separate line: >
+ if has('feature')
+ let x = this->breaks->without->the->feature
+ endif
+< If the `endif` would be in the second line it would not be
+ found.
has_key({dict}, {key}) *has_key()*
@@ -8612,7 +8623,12 @@ setpos({expr}, {list})
setqflist({list} [, {action} [, {what}]]) *setqflist()*
Create or replace or add to the quickfix list.
- When {what} is not present, use the items in {list}. Each
+ If the optional {what} dictionary argument is supplied, then
+ only the items listed in {what} are set. The first {list}
+ argument is ignored. See below for the supported items in
+ {what}.
+
+ When {what} is not present, the items in {list} or used. Each
item must be a dictionary. Non-dictionary items in {list} are
ignored. Each dictionary item can contain the following
entries:
@@ -8667,10 +8683,7 @@ setqflist({list} [, {action} [, {what}]]) *setqflist()*
freed. To add a new quickfix list at the end of the stack,
set "nr" in {what} to "$".
- If the optional {what} dictionary argument is supplied, then
- only the items listed in {what} are set. The first {list}
- argument is ignored. The following items can be specified in
- {what}:
+ The following items can be specified in dictionary {what}:
context quickfix list context. See |quickfix-context|
efm errorformat to use when parsing text from
"lines". If this is not present, then the
@@ -10486,11 +10499,12 @@ winlayout([{tabnr}]) *winlayout()*
" Two horizontally split windows
:echo winlayout()
['col', [['leaf', 1000], ['leaf', 1001]]]
- " Three horizontally split windows, with two
- " vertically split windows in the middle window
+ " The second tab page, with three horizontally split
+ " windows, with two vertically split windows in the
+ " middle window
:echo winlayout(2)
- ['col', [['leaf', 1002], ['row', ['leaf', 1003],
- ['leaf', 1001]]], ['leaf', 1000]]
+ ['col', [['leaf', 1002], ['row', [['leaf', 1003],
+ ['leaf', 1001]]], ['leaf', 1000]]]
<
Can also be used as a |method|: >
GetTabnr()->winlayout()
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index df8aba2a55..b17be8646c 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1,4 +1,4 @@
-*options.txt* For Vim version 8.2. Last change: 2020 Feb 14
+*options.txt* For Vim version 8.2. Last change: 2020 Mar 02
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -4646,8 +4646,8 @@ A jump table for the options with a short description can be found at |Q_op|.
be able to execute Normal mode commands.
This is the opposite of the 'keymap' option, where characters are
mapped in Insert mode.
- Also consider resetting 'langremap' to avoid 'langmap' applies to
- characters resulting from a mapping.
+ Also consider setting 'langremap' to off, to prevent 'langmap' from
+ applying to characters resulting from a mapping.
This option cannot be set from a |modeline| or in the |sandbox|, for
security reasons.
@@ -4712,7 +4712,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'langnoremap' is set to the inverted value, and the other way around.
*'langremap'* *'lrm'* *'nolangremap'* *'nolrm'*
-'langremap' 'lrm' boolean (default on, reset in |defaults.vim|)
+'langremap' 'lrm' boolean (default on, set to off in |defaults.vim|)
global
{only available when compiled with the |+langmap|
feature}
diff --git a/runtime/doc/textprop.txt b/runtime/doc/textprop.txt
index 55a5ed300b..5d55952eb5 100644
--- a/runtime/doc/textprop.txt
+++ b/runtime/doc/textprop.txt
@@ -1,4 +1,4 @@
-*textprop.txt* For Vim version 8.2. Last change: 2020 Feb 22
+*textprop.txt* For Vim version 8.2. Last change: 2020 Mar 05
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -133,8 +133,8 @@ prop_add({lnum}, {col}, {props})
to {lnum}, this is a zero-width text property
bufnr buffer to add the property to; when omitted
the current buffer is used
- id user defined ID for the property; when omitted
- zero is used
+ id user defined ID for the property; must be a
+ number; when omitted zero is used
type name of the text property type
All fields except "type" are optional.
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index 60ba4bd82c..d8f2988ba1 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 Mar 01
+*todo.txt* For Vim version 8.2. Last change: 2020 Mar 13
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -38,10 +38,23 @@ browser use: https://github.com/vim/vim/issues/1234
*known-bugs*
-------------------- Known bugs and current work -----------------------
+When starting a terminal popup the size defaults to nothing. Should have a
+sensible default, e.g. four lines of 30 chars.
+call popup_create(term_start(&shell, #{hidden: 1}), #{})
+
+Test_terminal_in_popup() still sometimes fails with "All" instead of "Top".
+
+Patch to fix vimtutor problems on Windows (Wu Yongwei, #5774)
+
+Additional tests for menu. (Yegappan, #5760)
+Introduces menu_info(), check that out.
+
Vim9 script:
-- better implementation for partial and tests.
+- Add vim9 commands to index, so that vim.vim will get them automatically.
+ See email from Charles March 11 2020.
- "func" inside "vim9script" doesn't work? (Ben Jackson, #5670)
- "echo Func()" is an error if Func() does not return anything.
+- better implementation for partial and tests for that.
- Make "g:imported = Export.exported" work in Vim9 script.
- Make Foo.Bar() work to call the dict function. (#5676)
- make "let var: string" work in a vim9script.
@@ -80,7 +93,14 @@ Vim9 script:
LOADVARARG (varags idx)
Popup windows:
+- popup_clear() and popup_close() should close the terminal popup, and
+ make the buffer hidden. #5745
- With terminal in popup, allow for popup_hide() to temporarily hide it.?
+- With some sequence get get hidden finished terminal buffer. (#5768)
+- Fire some autocommand event after a new popup window was created and
+ positioned? PopupNew? Could be used to set some options or move it out of
+ the way. (#5737)
+ However, it may also cause trouble, changing the popup of another plugin.
- Use popup (or popup menu) for command line completion
- When using a popup for the info of a completion menu, and there is not
enough space, let the popup overlap with the menu. (#4544)
@@ -94,7 +114,7 @@ Popup windows:
- Figure out the size and position better if wrapping inserts indent
Text properties:
-- prop_find() may not find text property at start of the line. (#5663)
+- "cc" does not call inserted_bytes(). (Axel Forsman, #5763)
- Get E685 with a sequence of commands. (#5674)
- Combining text property with 'cursorline' does not always work (Billie
Cleek, #5533)
@@ -165,7 +185,7 @@ Terminal emulator window:
Error numbers available:
E451, E452, E453, E454, E460, E489, E491, E565, E578, E610, E611, E653,
-E654, E856, E857, E860, E861, E900
+E654, E856, E857, E861, E900
Patch to fix drawing error with DirectX. (James Grant, #5688)
Causes flicker on resizing.
@@ -174,10 +194,15 @@ Patch to use more FOR_ALL_ macros and use them. (Yegappan Lakshmanan, #5339)
Patch to explain use of "%" in :!. (David Briscoe, #5591)
+Patch to improve Windows terminal support. (Nobuhiro Takasaki, #5546)
+Ready to include.
+
Patch to add "-d" to xxd. (#5616)
Patch to add Turkish manual. (Emir Sarı, #5641)
+File marks merging has duplicates since 7.4.1925. (Ingo Karkat, #5733)
+
Running test_gui and test_gui_init with Motif sometimes kills the window
manager. Problem with Motif? Now test_gui crashes in submenu_change().
Athena is OK.
@@ -191,21 +216,25 @@ Needs better docs. Is there a better name?
undo result wrong: Masato Nishihata, #4798
+Patch for Template string: #4491. New pull: #4634
+Ready to include? Review the code.
+
When 'lazyredraw' is set sometimes the title is not updated.
(Jason Franklin, 2020 Feb 3) Looks like a race condition.
Strange sequence of BufWipeout and BufNew events while doing omni-complete.
(Paul Jolly, #5656)
Get BufDelete without preceding BufNew. (Paul Jolly, #5694)
+ Later more requests for what to track.
+ Should we add new events that don't allow any buffer manipulation?
+ Really only for dealing with appearing and disappearing buffers, load and
+ unload.
BufWinenter event not fired when saving unnamed buffer. (Paul Jolly, #5655)
Another spurious BufDelete. (Dani Dickstein, #5701)
Patch to add function to return the text used in the quickfix window.
(Yegappan, #5465)
-Patch for Template string: #4491. New pull: #4634
-Implementation is too inefficient, avoid using lambda.
-
Patch to add readdirex() (Ken Takata, #5619)
Request to support <Cmd> in mappings, similar to how Neovim does this.
@@ -248,6 +277,12 @@ match, total matches). (#5631)
Patch to provide search stats in a variable, so that it can be used in the
statusline. (Fujiwara Takuya, #4446)
+Patch for ambiguous width characters in libvterm on MS-Windows 10.
+(Nobuhiro Takasaki, #4411)
+
+behavior of i_CTRl-R_CTRL-R differs from documentation. (Paul Desmond Parker,
+#5771)
+
":bnext" in a help buffer is supposed to go to the next help buffer, but it
goes to any buffer, and then :bnext skips help buffers, since they are
unlisted. (#4478)
@@ -305,6 +340,7 @@ Patch to add per-tabpage and per-window previous directory: "lcd -" and "tcd
Does not build with MinGW out of the box:
- _stat64 is not defined, need to use "struct stat" in vim.h
- WINVER conflict, should use 0x0600 by default?
+- INT_MAX not defined: need to include <limits.h> in vim.h
Crash when mixing matchadd and substitute()? (Max Christian Pohle, 2018 May
13, #2910) Can't reproduce?
@@ -431,9 +467,6 @@ with the first character (like what happens with a last line that doesn't
fit). Display "<<<" at the start of the first visible line (like "@@@" is
displayed in the last line). (Arseny Nasokin, #5154)
-Patch for ambiguous width characters in libvterm on MS-Windows 10.
-(Nobuhiro Takasaki, #4411)
-
Window size changes after closing a tab. (#4741)
Problem with colors in terminal window. (Jason Franklin, 2019 May 12)
diff --git a/runtime/doc/vim9.txt b/runtime/doc/vim9.txt
index b79ed69534..9128b62e75 100644
--- a/runtime/doc/vim9.txt
+++ b/runtime/doc/vim9.txt
@@ -1,4 +1,4 @@
-*vim9.txt* For Vim version 8.2. Last change: 2020 Feb 29
+*vim9.txt* For Vim version 8.2. Last change: 2020 Mar 01
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -213,7 +213,7 @@ few exceptions.
blob non-empty
list non-empty (different from JavaScript)
dictionary non-empty (different from JavaScript)
- funcref when not NULL
+ func when not NULL
partial when not NULL
special v:true
job when not NULL
@@ -301,6 +301,8 @@ The following builtin types are supported:
(a: type, b: type): type
job
channel
+ func
+ partial
Not supported yet:
tuple<a: type, b: type, ...>