vim-patch:partial:52e7cc2: runtime(doc): tweak documentation style a bit (#29897)

closes: vim/vim#15371

52e7cc26d8

Co-authored-by: h-east <h.east.727@gmail.com>
This commit is contained in:
zeertzjq 2024-07-29 08:02:31 +08:00 committed by GitHub
parent 5aa1a9532c
commit fe5030c05e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 13 additions and 12 deletions

View File

@ -2167,7 +2167,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

@ -1939,7 +1939,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

@ -240,7 +240,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.