0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

runtime(doc): tweak documentation style a bit

closes: #15371

Signed-off-by: h-east <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
h-east 2024-07-28 17:03:29 +02:00 committed by Christian Brabandt
parent 6b6280c4a2
commit 52e7cc26d8
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
8 changed files with 25 additions and 24 deletions

View File

@ -1,4 +1,4 @@
*builtin.txt* For Vim version 9.1. Last change: 2024 Jul 17 *builtin.txt* For Vim version 9.1. Last change: 2024 Jul 28
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -279,8 +279,7 @@ gettabvar({nr}, {varname} [, {def}])
gettabwinvar({tabnr}, {winnr}, {name} [, {def}]) gettabwinvar({tabnr}, {winnr}, {name} [, {def}])
any {name} in {winnr} in tab page {tabnr} any {name} in {winnr} in tab page {tabnr}
gettagstack([{nr}]) Dict get the tag stack of window {nr} gettagstack([{nr}]) Dict get the tag stack of window {nr}
gettext({text} [, {package}]) gettext({text} [, {package}]) String lookup translation of {text}
String lookup translation of {text}
getwininfo([{winid}]) List list of info about each window getwininfo([{winid}]) List list of info about each window
getwinpos([{timeout}]) List X and Y coord in pixels of Vim window getwinpos([{timeout}]) List X and Y coord in pixels of Vim window
getwinposx() Number X coord in pixels of the Vim window getwinposx() Number X coord in pixels of the Vim window
@ -8142,7 +8141,7 @@ pyxeval({expr}) *pyxeval()*
See also: |pyeval()|, |py3eval()| See also: |pyeval()|, |py3eval()|
Can also be used as a |method|: > Can also be used as a |method|: >
< GetExpr()->pyxeval() GetExpr()->pyxeval()
< <
Return type: any, depending on {expr} Return type: any, depending on {expr}
@ -9550,7 +9549,8 @@ setline({lnum}, {text}) *setline()*
Set line {lnum} of the current buffer to {text}. To insert Set line {lnum} of the current buffer to {text}. To insert
lines use |append()|. To set lines in another buffer use lines use |append()|. To set lines in another buffer use
|setbufline()|. |setbufline()|.
Any text properties in {lnum} are cleared |text-prop-cleared|. Any text properties in {lnum} are cleared. See
|text-prop-cleared|
{lnum} is used like with |getline()|. {lnum} is used like with |getline()|.
When {lnum} is just below the last line the {text} will be When {lnum} is just below the last line the {text} will be
@ -11103,7 +11103,7 @@ synconcealed({lnum}, {col}) *synconcealed()*
Note: Doesn't consider |matchadd()| highlighting items, Note: Doesn't consider |matchadd()| highlighting items,
since syntax and matching highlighting are two different since syntax and matching highlighting are two different
mechanisms |syntax-vs-match|. mechanisms |syntax-vs-match|.
<
Return type: list<any> Return type: list<any>

View File

@ -1,4 +1,4 @@
*change.txt* For Vim version 9.1. Last change: 2024 Jul 14 *change.txt* For Vim version 9.1. Last change: 2024 Jul 28
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -1414,7 +1414,7 @@ The next three commands always work on whole lines.
:[range]m[ove] {address} *:m* *:mo* *:move* *E134* :[range]m[ove] {address} *:m* *:mo* *:move* *E134*
Move the lines given by [range] to below the line Move the lines given by [range] to below the line
given by {address}. given by {address}.
Any text properties in [range] are cleared Any text properties in [range] are cleared. See
|text-prop-cleared|. |text-prop-cleared|.
============================================================================== ==============================================================================

View File

@ -1,4 +1,4 @@
*eval.txt* For Vim version 9.1. Last change: 2024 Jul 17 *eval.txt* For Vim version 9.1. Last change: 2024 Jul 28
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -3125,7 +3125,7 @@ text...
let lconst[1][0] = 'b' " OK let lconst[1][0] = 'b' " OK
< *E995* < *E995*
It is an error to specify an existing variable with It is an error to specify an existing variable with
:const. > |:const|. >
:let x = 1 :let x = 1
:const x = 1 " Error! :const x = 1 " Error!
< *E996* < *E996*

View File

@ -1,4 +1,4 @@
*insert.txt* For Vim version 9.1. Last change: 2024 Jul 27 *insert.txt* For Vim version 9.1. Last change: 2024 Jul 28
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -2007,7 +2007,7 @@ command in ex mode: >
two two
. .
:visual :visual
<appends the following text, after the cursor line: > appends the following text, after the cursor line: >
one one
two two
< <

View File

@ -1,4 +1,4 @@
*options.txt* For Vim version 9.1. Last change: 2024 Jul 24 *options.txt* For Vim version 9.1. Last change: 2024 Jul 28
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar

View File

@ -1,4 +1,4 @@
*terminal.txt* For Vim version 9.1. Last change: 2024 Jul 20 *terminal.txt* For Vim version 9.1. Last change: 2024 Jul 28
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -1253,7 +1253,7 @@ Starting ~
*termdebug-starting* *termdebug-starting*
Load the plugin with this command: > Load the plugin with this command: >
packadd termdebug packadd termdebug
<When loading the plugin from the |.vimrc| file, add the "!" attribute: > When loading the plugin from the |.vimrc| file, add the "!" attribute: >
packadd! termdebug packadd! termdebug
< *:Termdebug* < *:Termdebug*
To start debugging use `:Termdebug` or `:TermdebugCommand` followed by the To start debugging use `:Termdebug` or `:TermdebugCommand` followed by the

View File

@ -1,4 +1,4 @@
*usr_05.txt* For Vim version 9.1. Last change: 2024 Jun 19 *usr_05.txt* For Vim version 9.1. Last change: 2024 Jun 28
VIM USER MANUAL - by Bram Moolenaar VIM USER MANUAL - by Bram Moolenaar
@ -455,7 +455,8 @@ Adding nohlsearch package *nohlsearch-install*
Load the plugin with this command: > Load the plugin with this command: >
packadd nohlsearch packadd nohlsearch
< <
Automatically execute |:nohlsearch| after 'updatetime' or getting into |Insert| mode. Automatically execute |:nohlsearch| after 'updatetime' or getting into
|Insert| mode.
Thus assuming default updatetime, hlsearch would be suspended/turned off after Thus assuming default updatetime, hlsearch would be suspended/turned off after
4 seconds of idle time. 4 seconds of idle time.

View File

@ -1,4 +1,4 @@
*version9.txt* For Vim version 9.1. Last change: 2024 Jul 25 *version9.txt* For Vim version 9.1. Last change: 2024 Jul 28
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -41614,7 +41614,7 @@ Functions: ~
Autocommands: ~ Autocommands: ~
|CursorMovedC| after the cursor was moved in the comamnd-line |CursorMovedC| after the cursor was moved in the comamnd-line
|KeyInputPre| process any Key event in any mode |KeyInputPre| before processing any key event in any mode
|SessionWritePost| after writing the session file |:mksession| |SessionWritePost| after writing the session file |:mksession|
|TermResponseAll| after the terminal response to |t_RV| and others is |TermResponseAll| after the terminal response to |t_RV| and others is
received received