Update runtime files
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
*map.txt* For Vim version 9.0. Last change: 2023 Feb 18
|
||||
*map.txt* For Vim version 9.0. Last change: 2023 Feb 27
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -1073,7 +1073,7 @@ translated). The meaning of {value}:
|
||||
On protocol is used
|
||||
Disabled protocol was used but expected to have been disabled
|
||||
by 't_TE'
|
||||
Cleared protocol expected to have beeen disabled by 't_TE',
|
||||
Cleared protocol expected to have been disabled by 't_TE',
|
||||
previous state is unknown
|
||||
|
||||
|
||||
@ -1421,12 +1421,13 @@ this, they can be made local to the script.
|
||||
|
||||
*<SID>* *<SNR>* *E81*
|
||||
The string "<SID>" can be used in a mapping or menu. This requires that the
|
||||
'<' flag is not present in 'cpoptions'.
|
||||
'<' flag is not present in 'cpoptions'. This is useful if you have a
|
||||
script-local function that you want to call from a mapping in the same script.
|
||||
When executing the map command, Vim will replace "<SID>" with the special
|
||||
key code <SNR>, followed by a number that's unique for the script, and an
|
||||
underscore. Example: >
|
||||
:map <SID>Add
|
||||
could define a mapping "<SNR>23_Add".
|
||||
would define a mapping "<SNR>23_Add".
|
||||
|
||||
When defining a function in a script, "s:" can be prepended to the name to
|
||||
make it local to the script (in |Vim9| script functions without a prefix are
|
||||
|
||||
Reference in New Issue
Block a user