aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/cmdline.txt2
-rw-r--r--runtime/doc/eval.txt8
-rw-r--r--runtime/doc/indent.txt2
-rw-r--r--runtime/doc/index.txt1
-rw-r--r--runtime/doc/message.txt1
-rw-r--r--runtime/doc/quickfix.txt3
6 files changed, 12 insertions, 5 deletions
diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt
index 46248899a0..ee1f76e4e4 100644
--- a/runtime/doc/cmdline.txt
+++ b/runtime/doc/cmdline.txt
@@ -660,7 +660,7 @@ commands ":write" and ":global" have the whole file (1,$) as default.
If more line specifiers are given than required for the command, the first
one(s) will be ignored.
-Line numbers may be specified with: *:range* *E14* *{address}*
+Line numbers may be specified with: *:range* *{address}*
{number} an absolute line number
. the current line *:.*
$ the last line in the file *:$*
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 93bc7f868d..5032dc16ee 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -3977,12 +3977,12 @@ function({name} [, {arglist}] [, {dict}])
the Funcref and will be used when the Funcref is called.
The arguments are passed to the function in front of other
- arguments. Example: >
+ arguments, but after any argument from |method|. Example: >
func Callback(arg1, arg2, name)
...
- let Func = function('Callback', ['one', 'two'])
+ let Partial = function('Callback', ['one', 'two'])
...
- call Func('name')
+ call Partial('name')
< Invokes the function as with: >
call Callback('one', 'two', 'name')
@@ -5650,6 +5650,8 @@ map({expr1}, {expr2}) *map()*
call map(myDict, {key, val -> key . '-' . val})
< If you do not use "val" you can leave it out: >
call map(myDict, {key -> 'item: ' . key})
+< If you do not use "key" you can use a short name: >
+ call map(myDict, {_, val -> 'item: ' . val})
<
The operation is done in-place. If you want a |List| or
|Dictionary| to remain unmodified make a copy first: >
diff --git a/runtime/doc/indent.txt b/runtime/doc/indent.txt
index a99d84e969..1df0331239 100644
--- a/runtime/doc/indent.txt
+++ b/runtime/doc/indent.txt
@@ -827,7 +827,7 @@ PHP indenting can be altered in several ways by modifying the values of some
global variables:
*php-comment* *PHP_autoformatcomment*
-To not enable auto-formating of comments by default (if you want to use your
+To not enable auto-formatting of comments by default (if you want to use your
own 'formatoptions'): >
:let g:PHP_autoformatcomment = 0
diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt
index 47c789713c..aebb58889a 100644
--- a/runtime/doc/index.txt
+++ b/runtime/doc/index.txt
@@ -1525,6 +1525,7 @@ tag command action ~
|:spelldump| :spelld[ump] split window and fill with all correct words
|:spellgood| :spe[llgood] add good word for spelling
|:spellinfo| :spelli[nfo] show info about loaded spell files
+|:spellrare| :spellra[re] add rare word for spelling
|:spellrepall| :spellr[epall] replace all bad words like last |z=|
|:spellundo| :spellu[ndo] remove good or bad word
|:spellwrong| :spellw[rong] add spelling mistake
diff --git a/runtime/doc/message.txt b/runtime/doc/message.txt
index 97a1882159..e8c76adad4 100644
--- a/runtime/doc/message.txt
+++ b/runtime/doc/message.txt
@@ -780,6 +780,7 @@ To reduce the number of hit-enter prompts:
- Set 'cmdheight' to 2 or higher.
- Add flags to 'shortmess'.
- Reset 'showcmd' and/or 'ruler'.
+- Make sure `:echo` text is within |v:echospace| screen cells.
If your script causes the hit-enter prompt and you don't know why, you may
find the |v:scrollstart| variable useful.
diff --git a/runtime/doc/quickfix.txt b/runtime/doc/quickfix.txt
index 14a25c102d..3ae6d9461f 100644
--- a/runtime/doc/quickfix.txt
+++ b/runtime/doc/quickfix.txt
@@ -1215,6 +1215,9 @@ replaced with SOH (0x01).
Note: By default the difference between upper and lowercase is ignored. If
you want to match case, add "\C" to the pattern |/\C|.
+Vim will read lines of any length, but only the first 4095 bytes are used, the
+rest is ignored. Items can only be 1023 bytes long.
+
Basic items