mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
7d4967547b
commit
57b84f6d64
1
runtime/doc/builtin.txt
generated
1
runtime/doc/builtin.txt
generated
@ -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
|
||||
|
1
runtime/lua/vim/_meta/vimfn.lua
generated
1
runtime/lua/vim/_meta/vimfn.lua
generated
@ -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
|
||||
|
@ -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' } },
|
||||
|
Loading…
Reference in New Issue
Block a user