From 57b84f6d640a13e0f1aed5e713609b366400c48f Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Mon, 25 Sep 2023 06:37:54 +0800 Subject: vim-patch:790f9a890cee runtime(doc): Add a missing '<' to the help of strutf16len() (vim/vim#13168) https://github.com/vim/vim/commit/790f9a890ceeb9539776265cba0f026fb2c96790 Co-authored-by: a5ob7r <12132068+a5ob7r@users.noreply.github.com> --- runtime/lua/vim/_meta/vimfn.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/lua/vim') diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua index 4113797759..6686661a27 100644 --- a/runtime/lua/vim/_meta/vimfn.lua +++ b/runtime/lua/vim/_meta/vimfn.lua @@ -9192,6 +9192,7 @@ function vim.fn.strtrans(string) end --- echo strutf16len('😊') " returns 2 --- echo strutf16len('ą́') " returns 1 --- echo strutf16len('ą́', v:true) " returns 3 +--- < --- --- @param string string --- @param countcc? 0|1 -- cgit