neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 57221e0d11d1c24bc2abada7559a1d20c5090b62
parent 9f1d33307270e7d013896aea6042b73d091078f5
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Sat, 15 Apr 2023 19:11:29 +0800

vim-patch:b59ae59a5870

Update runtime files

https://github.com/vim/vim/commit/b59ae59a58706e454ef8c78276f021b1f58466e7

Co-authored-by: Bram Moolenaar <Bram@vim.org>

Diffstat:
Mruntime/doc/eval.txt | 6+++---
Mruntime/doc/options.txt | 4++--
2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt @@ -1407,7 +1407,7 @@ to be doubled. These two commands are equivalent: > ------------------------------------------------------------------------------ -interpolated-string *interp-string* +interpolated-string *$quote* *interpolated-string* $"string" interpolated string constant *expr-$quote* $'string' interpolated literal string constant *expr-$'* @@ -2578,10 +2578,10 @@ text... If "eval" is not specified, then each line of text is used as a |literal-string|, except that single quotes - doe not need to be doubled. + does not need to be doubled. If "eval" is specified, then any Vim expression in the form {expr} is evaluated and the result replaces the - expression, like with |interp-string|. + expression, like with |interpolated-string|. Example where $HOME is expanded: > let lines =<< trim eval END some text diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt @@ -3332,8 +3332,8 @@ A jump table for the options with a short description can be found at |Q_op|. If the expression starts with s: or |<SID>|, then it is replaced with the script ID (|local-function|). Example: > - set includeexpr=s:MyIncludeExpr(v:fname) - set includeexpr=<SID>SomeIncludeExpr(v:fname) + setlocal includeexpr=s:MyIncludeExpr(v:fname) + setlocal includeexpr=<SID>SomeIncludeExpr(v:fname) < The expression will be evaluated in the |sandbox| when set from a modeline, see |sandbox-option|.