aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/options.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-08-01 11:50:38 +0800
committerGitHub <noreply@github.com>2024-08-01 03:50:38 +0000
commit2b4049719ab6cc01afcde3b5be7ba33fd1e33ab4 (patch)
treecf078dea473e3d23d9b146d25834bc745cebc680 /src/nvim/options.lua
parent02eaf7c4c10f08a73c2d9e2618918f424ac18fd2 (diff)
downloadrneovim-2b4049719ab6cc01afcde3b5be7ba33fd1e33ab4.tar.gz
rneovim-2b4049719ab6cc01afcde3b5be7ba33fd1e33ab4.tar.bz2
rneovim-2b4049719ab6cc01afcde3b5be7ba33fd1e33ab4.zip
vim-patch:partial:f10911e: Update runtime files (#29936)
https://github.com/vim/vim/commit/f10911e5db16f1fe6ab519c5d091ad0c1df0d063 Also cherry-pick E1142 and E1156 tags from Vim. Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r--src/nvim/options.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index cf97f682f8..7268a4351d 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -1058,6 +1058,14 @@ return {
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.
]=],