From db41e4c74f713f4b0eeaaa3896e433df20eb2145 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sat, 25 Jul 2026 06:31:27 +0800 Subject: [PATCH] vim-patch:0c1a214: runtime(doc): Fix truncated sentence in :h map() fixes: vim/vim#20725 https://github.com/vim/vim/commit/0c1a214497400a950f1e25f4163215ec930a4659 Co-authored-by: Christian Brabandt --- runtime/doc/vimfn.txt | 2 +- runtime/lua/vim/_meta/vimfn.gen.lua | 2 +- src/nvim/eval.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/doc/vimfn.txt b/runtime/doc/vimfn.txt index 722ffe8a8c..7eccc6011d 100644 --- a/runtime/doc/vimfn.txt +++ b/runtime/doc/vimfn.txt @@ -6291,7 +6291,7 @@ map({expr1}, {expr2}) *map()* Note that {expr2} is the result of an expression and is then used as an expression again. Often it is good to use a |literal-string| to avoid having to double backslashes. You - still have to double ' quotes + still have to double single (') quotes, though. If {expr2} is a |Funcref| it is called with two arguments: 1. The key or the index of the current item. diff --git a/runtime/lua/vim/_meta/vimfn.gen.lua b/runtime/lua/vim/_meta/vimfn.gen.lua index 252425d2fe..3d9b12bbda 100644 --- a/runtime/lua/vim/_meta/vimfn.gen.lua +++ b/runtime/lua/vim/_meta/vimfn.gen.lua @@ -5602,7 +5602,7 @@ function vim.fn.log10(expr) end --- Note that {expr2} is the result of an expression and is then --- used as an expression again. Often it is good to use a --- |literal-string| to avoid having to double backslashes. You ---- still have to double ' quotes +--- still have to double single (') quotes, though. --- --- If {expr2} is a |Funcref| it is called with two arguments: --- 1. The key or the index of the current item. diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua index f966f48da4..7323fef2a6 100644 --- a/src/nvim/eval.lua +++ b/src/nvim/eval.lua @@ -6829,7 +6829,7 @@ M.funcs = { Note that {expr2} is the result of an expression and is then used as an expression again. Often it is good to use a |literal-string| to avoid having to double backslashes. You - still have to double ' quotes + still have to double single (') quotes, though. If {expr2} is a |Funcref| it is called with two arguments: 1. The key or the index of the current item.