Skip to content

Commit 8a3b805

Browse files
committed
Update runtime files
1 parent 0fbc926 commit 8a3b805

30 files changed

Lines changed: 689 additions & 697 deletions

runtime/doc/builtin.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4898,10 +4898,10 @@ invert({expr}) *invert()*
48984898
< Can also be used as a |method|: >
48994899
:let bits = bits->invert()
49004900
4901-
isabsolutepath({directory}) *isabsolutepath()*
4901+
isabsolutepath({path}) *isabsolutepath()*
49024902
The result is a Number, which is |TRUE| when {path} is an
49034903
absolute path.
4904-
< On Unix, a path is considered absolute when it starts with '/'.
4904+
On Unix, a path is considered absolute when it starts with '/'.
49054905
On MS-Windows, it is considered absolute when it starts with an
49064906
optional drive prefix and is followed by a '\' or '/'. UNC paths
49074907
are always absolute.
@@ -4911,7 +4911,7 @@ isabsolutepath({directory}) *isabsolutepath()*
49114911
echo isabsolutepath('C:\Windows') " 1
49124912
echo isabsolutepath('foobar') " 0
49134913
echo isabsolutepath('\\remote\file') " 1
4914-
4914+
<
49154915
Can also be used as a |method|: >
49164916
GetName()->isabsolutepath()
49174917
@@ -10595,6 +10595,7 @@ viminfo Compiled with viminfo support.
1059510595
vimscript-1 Compiled Vim script version 1 support
1059610596
vimscript-2 Compiled Vim script version 2 support
1059710597
vimscript-3 Compiled Vim script version 3 support
10598+
vimscript-4 Compiled Vim script version 4 support
1059810599
virtualedit Compiled with 'virtualedit' option. (always true)
1059910600
visual Compiled with Visual mode. (always true)
1060010601
visualextra Compiled with extra Visual mode commands. (always

runtime/doc/channel.txt

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1554,36 +1554,5 @@ The "params" field is optional: >
15541554
"params": <list|dict>
15551555
}
15561556
1557-
Depending on the use case, you can use the ch_evalexpr(), ch_sendexpr() and
1558-
ch_sendraw() functions on the same channel.
1559-
1560-
A LSP request message has the following format (expressed as a Vim Dict). The
1561-
"params" field is optional: >
1562-
1563-
{
1564-
"jsonrpc": "2.0",
1565-
"id": <number>,
1566-
"method": <string>,
1567-
"params": <list|dict>
1568-
}
1569-
1570-
A LSP response message has the following format (expressed as a Vim Dict). The
1571-
"result" and "error" fields are optional: >
1572-
1573-
{
1574-
"jsonrpc": "2.0",
1575-
"id": <number>,
1576-
"result": <vim type>
1577-
"error": <dict>
1578-
}
1579-
1580-
A LSP notification message has the following format (expressed as a Vim Dict).
1581-
The "params" field is optional: >
1582-
1583-
{
1584-
"jsonrpc": "2.0",
1585-
"method": <string>,
1586-
"params": <list|dict>
1587-
}
1588-
1557+
<
15891558
vim:tw=78:ts=8:noet:ft=help:norl:

runtime/doc/cmdline.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -936,7 +936,7 @@ Note: these are typed literally, they are not special keys!
936936
When the match is with a file name, it is expanded to the
937937
full path.
938938
*:<sfile>* *<sfile>*
939-
<sfile> When executing a ":source" command, is replaced with the
939+
<sfile> When executing a `:source` command, is replaced with the
940940
file name of the sourced file. *E498*
941941
When executing a legacy function, is replaced with the call
942942
stack, as with <stack> (this is for backwards
@@ -959,7 +959,7 @@ Note: these are typed literally, they are not special keys!
959959
defined.
960960
If the file name cannot be determined you get error *E1274* .
961961
*:<slnum>* *<slnum>*
962-
<slnum> When executing a ":source" command, is replaced with the
962+
<slnum> When executing a `:source` command, is replaced with the
963963
line number. *E842*
964964
When executing a function it's the line number relative to
965965
the start of the function.

runtime/doc/editing.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1225,7 +1225,7 @@ Examples: >
12251225

12261226
If you want to always use ":confirm", set the 'confirm' option.
12271227

1228-
*:browse* *:bro* *E338*
1228+
*:browse* *:bro* *E338*
12291229
:bro[wse] {command} Open a file selection dialog for an argument to
12301230
{command}. At present this works for |:e|, |:w|,
12311231
|:wall|, |:wq|, |:wqall|, |:x|, |:xall|, |:exit|,

runtime/doc/eval.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ You will not get an error if you try to change the type of a variable.
181181

182182

183183
1.2 Function references ~
184-
*Funcref* *E695* *E718* *E1192*
184+
*Funcref* *E695* *E718* *E1192*
185185
A Funcref variable is obtained with the |function()| function, the |funcref()|
186186
function, (in |Vim9| script) the name of a function, or created with the
187187
lambda expression |expr-lambda|. It can be used in an expression in the place
@@ -1289,7 +1289,7 @@ Generally, if a |List| index is equal to or higher than the length of the
12891289
error.
12901290

12911291

1292-
expr10[expr1a : expr1b] substring or sublist *expr-[:]*
1292+
expr10[expr1a : expr1b] substring or |sublist| *expr-[:]* *substring*
12931293

12941294
If expr10 is a String this results in the substring with the bytes or
12951295
characters from expr1a to and including expr1b. expr10 is used as a String,
@@ -3287,7 +3287,7 @@ text...
32873287

32883288
If "eval" is not specified, then each line of text is
32893289
used as a |literal-string|, except that single quotes
3290-
doe not need to be doubled.
3290+
does not need to be doubled.
32913291
If "eval" is specified, then any Vim expression in the
32923292
form {expr} is evaluated and the result replaces the
32933293
expression, like with |interp-string|.

runtime/doc/filetype.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ variables can be used to overrule the filetype used for certain extensions:
143143
*.asp g:filetype_asp |ft-aspvbs-syntax| |ft-aspperl-syntax|
144144
*.bas g:filetype_bas |ft-basic-syntax|
145145
*.cfg g:filetype_cfg
146-
*.csh g:filetype_csh |ft-csh-syntax|
146+
*.csh g:filetype_csh |ft-csh-syntax|
147147
*.dat g:filetype_dat
148148
*.frm g:filetype_frm |ft-form-syntax|
149149
*.fs g:filetype_fs |ft-forth-syntax|

runtime/doc/if_pyth.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -839,10 +839,10 @@ Raising SystemExit exception in python isn't endorsed way to quit vim, use: >
839839
:py vim.command("qall!")
840840
<
841841
*E1266*
842-
This error can occur when python 3 cannot load the required modules. This
843-
means that your python 3 is not correctly installed or there are some mistakes
842+
This error can occur when Python 3 cannot load the required modules. This
843+
means that your Python 3 is not correctly installed or there are some mistakes
844844
in your settings. Please check the following items:
845-
1. Make sure that python 3 is correctly installed. Also check the version of
845+
1. Make sure that Python 3 is correctly installed. Also check the version of
846846
python.
847847
2. Check the 'pythonthreedll' option.
848848
3. Check the 'pythonthreehome' option.
@@ -887,8 +887,8 @@ the runtime library cannot be found.
887887
==============================================================================
888888
11. Python X *python_x* *pythonx*
889889

890-
Because most python code can be written so that it works with python 2.6+ and
891-
python 3 the pyx* functions and commands have been written. They work exactly
890+
Because most python code can be written so that it works with Python 2.6+ and
891+
Python 3 the pyx* functions and commands have been written. They work exactly
892892
the same as the Python 2 and 3 variants, but select the Python version using
893893
the 'pyxversion' setting.
894894

runtime/doc/indent.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ The examples below assume a 'shiftwidth' of 4.
291291
<
292292
*cino-g*
293293
gN Place C++ scope declarations N characters from the indent of the
294-
block they are in. (default 'shiftwidth'). By default, a scope
294+
block they are in. (default 'shiftwidth'). By default, a scope
295295
declaration is "public:", "protected:" or "private:". This can
296296
be adjusted with the 'cinscopedecls' option.
297297

runtime/doc/map.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,16 +177,16 @@ Because it tries to unmap "@@ ", including the white space before the command
177177
separator "|". Other examples with trailing white space: >
178178
unmap @@
179179
unmap @@ # Vim9 script comment
180-
unmap @@ " legacy comment
180+
unmap @@ " legacy script comment
181181
182182
An error will be issued, which is very hard to identify, because the ending
183183
whitespace character in `unmap @@ ` is not visible.
184184

185185
A generic solution is to put the command separator "|" right after the mapped
186186
keys. After that white space and a comment may follow: >
187187
188-
unmap @@| # Vim9 scriptcomment
189-
unmap @@| " legacy scriptcomment
188+
unmap @@| # Vim9 script comment
189+
unmap @@| " legacy script comment
190190
191191
192192
1.2 SPECIAL ARGUMENTS *:map-arguments*
@@ -195,7 +195,8 @@ keys. After that white space and a comment may follow: >
195195
"<unique>" can be used in any order. They must appear right after the
196196
command, before any other arguments.
197197

198-
*:map-local* *:map-<buffer>* *:map-buffer* *E224* *E225*
198+
*:map-local* *:map-<buffer>* *:map-buffer*
199+
*E224* *E225*
199200
If the first argument to one of these commands is "<buffer>" the mapping will
200201
be effective in the current buffer only. Example: >
201202
:map <buffer> ,w /[.,;]<CR>

0 commit comments

Comments
 (0)