runtime(doc): Improve documentation of the ..= assignment operator
Explicitly mention the "..=" compound assignment operator everywhere ".=" is documented. Convert some uses of "." and ".=" in the examples to ".." and "..=", respectively. closes: #18380 Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
4b97fc901f
commit
b6f9d38f96
@ -1,4 +1,4 @@
|
||||
*usr_40.txt* For Vim version 9.1. Last change: 2022 Jun 23
|
||||
*usr_40.txt* For Vim version 9.1. Last change: 2025 Sep 24
|
||||
|
||||
VIM USER MANUAL - by Bram Moolenaar
|
||||
|
||||
@ -597,7 +597,7 @@ EXECUTING AUTOCOMMANDS
|
||||
It is possible to trigger an autocommand by pretending an event has occurred.
|
||||
This is useful to have one autocommand trigger another one. Example: >
|
||||
|
||||
:autocmd BufReadPost *.new execute "doautocmd BufReadPost " . expand("<afile>:r")
|
||||
:autocmd BufReadPost *.new execute "doautocmd BufReadPost " .. expand("<afile>:r")
|
||||
|
||||
This defines an autocommand that is triggered when a new file has been edited.
|
||||
The file name must end in ".new". The ":execute" command uses expression
|
||||
|
||||
Reference in New Issue
Block a user