vim-patch:790f9a890cee

runtime(doc): Add a missing '<' to the help of strutf16len() (vim/vim#13168)

790f9a890c

Co-authored-by: a5ob7r <12132068+a5ob7r@users.noreply.github.com>
This commit is contained in:
zeertzjq 2023-09-25 06:37:54 +08:00
parent 7d4967547b
commit 57b84f6d64
3 changed files with 3 additions and 1 deletions

View File

@ -7742,6 +7742,7 @@ strutf16len({string} [, {countcc}]) *strutf16len()*
echo strutf16len('😊') " returns 2
echo strutf16len('ą́') " returns 1
echo strutf16len('ą́', v:true) " returns 3
<
strwidth({string}) *strwidth()*
The result is a Number, which is the number of display cells

View File

@ -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

View File

@ -10973,7 +10973,7 @@ M.funcs = {
echo strutf16len('😊') " returns 2
echo strutf16len('ą́') " returns 1
echo strutf16len('ą́', v:true) " returns 3
<
]=],
name = 'strutf16len',
params = { { 'string', 'string' }, { 'countcc', '0|1' } },