aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-04-15 07:11:39 +0800
committerGitHub <noreply@github.com>2024-04-15 07:11:39 +0800
commit43f8d7e3ef2db733f01f2d4c03214cd90c5a09be (patch)
tree002e8a305a2217ce1b6f7f7ab7fef548fcd6b8b7 /src/nvim/eval.lua
parent7180ef690180cf92d1d49811820c46dd60e4d1c6 (diff)
downloadrneovim-43f8d7e3ef2db733f01f2d4c03214cd90c5a09be.tar.gz
rneovim-43f8d7e3ef2db733f01f2d4c03214cd90c5a09be.tar.bz2
rneovim-43f8d7e3ef2db733f01f2d4c03214cd90c5a09be.zip
vim-patch:9.1.0329: String interpolation fails for Dict type (#28335)
Problem: String interpolation fails for Dict type Solution: Support Dict data type properly, also support :put =Dict (without having to convert it to string() first) (Yegappan Lakshmanan) fixes: vim/vim#14529 closes: vim/vim#14541 https://github.com/vim/vim/commit/f01493c55062c01b1cdf9b1e946577f4d1bdddf3 Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Diffstat (limited to 'src/nvim/eval.lua')
-rw-r--r--src/nvim/eval.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua
index 388fd3a7cb..dcc8cf3c8c 100644
--- a/src/nvim/eval.lua
+++ b/src/nvim/eval.lua
@@ -11129,10 +11129,10 @@ M.funcs = {
for infinite and NaN floating-point values representations
which use |str2float()|. Strings are also dumped literally,
only single quote is escaped, which does not allow using YAML
- for parsing back binary strings. |eval()| should always work for
- strings and floats though and this is the only official
- method, use |msgpackdump()| or |json_encode()| if you need to
- share data with other application.
+ for parsing back binary strings. |eval()| should always work
+ for strings and floats though, and this is the only official
+ method. Use |msgpackdump()| or |json_encode()| if you need to
+ share data with other applications.
]=],
name = 'string',