vim-patch:partial:f10911e: Update runtime files (#29936)

f10911e5db

Also cherry-pick E1142 and E1156 tags from Vim.

Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
zeertzjq
2024-08-01 11:50:38 +08:00
committed by GitHub
parent 02eaf7c4c1
commit 2b4049719a
9 changed files with 42 additions and 11 deletions

View File

@@ -785,6 +785,17 @@ vim.bo.channel = vim.o.channel
--- v:fname_in name of the input file
--- v:fname_out name of the output file
--- Note that v:fname_in and v:fname_out will never be the same.
---
--- If the 'charconvert' expression starts with s: or `<SID>`, then it is
--- replaced with the script ID (`local-function`). Example:
---
--- ```vim
--- set charconvert=s:MyConvert()
--- set charconvert=<SID>SomeConvert()
--- ```
--- Otherwise the expression is evaluated in the context of the script
--- where the option was set, thus script-local items are available.
---
--- This option cannot be set from a `modeline` or in the `sandbox`, for
--- security reasons.
---