aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorChristian Clason <christian.clason@uni-due.de>2021-09-13 16:33:41 +0200
committerGitHub <noreply@github.com>2021-09-13 16:33:41 +0200
commit5fd21b8d3e9dcb2b3dc3bdab4b58218ac908e3e8 (patch)
treed0df1b7dabb022b8f808e454e2f48cb63361e96d /runtime/doc
parent1a9d2a4040f3ba3fe272488a7e85db6cdb453d39 (diff)
downloadrneovim-5fd21b8d3e9dcb2b3dc3bdab4b58218ac908e3e8.tar.gz
rneovim-5fd21b8d3e9dcb2b3dc3bdab4b58218ac908e3e8.tar.bz2
rneovim-5fd21b8d3e9dcb2b3dc3bdab4b58218ac908e3e8.zip
vim-patch:6c391a74fe90 (#15654)
Update runtime files https://github.com/vim/vim/commit/6c391a74fe90190796ca0b0c010112948a6e75d7 omit autoload/getscript.vim skip doc/eval.txt (needs 8.2.2468) skip doc/various.txt (needs 8.2.3400) (typofixes courtesy of @dundargoc)
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/eval.txt5
-rw-r--r--runtime/doc/options.txt2
-rw-r--r--runtime/doc/repeat.txt6
-rw-r--r--runtime/doc/windows.txt5
4 files changed, 14 insertions, 4 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 37ff2f6f2d..f27d1e01a0 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -4094,14 +4094,17 @@ finddir({name} [, {path} [, {count}]]) *finddir()*
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`.
findfile({name} [, {path} [, {count}]]) *findfile()*
Just like |finddir()|, but find a file instead of a directory.
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 1f8752ed36..4eb367258f 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -5751,6 +5751,8 @@ A jump table for the options with a short description can be found at |Q_op|.
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 61428aefb0..6851cd1511 100644
--- a/runtime/doc/repeat.txt
+++ b/runtime/doc/repeat.txt
@@ -823,8 +823,12 @@ DEFINING BREAKPOINTS
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/windows.txt b/runtime/doc/windows.txt
index 3a58cc08d9..e0c33fa2c9 100644
--- a/runtime/doc/windows.txt
+++ b/runtime/doc/windows.txt
@@ -271,7 +271,7 @@ Closing a window
----------------
: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
@@ -363,7 +363,8 @@ CTRL-W CTRL-C *CTRL-W_CTRL-C*
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|.
+ 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.