Merge pull request #25349 from zeertzjq/vim-790f9a890cee

vim-patch:790f9a890cee,960822a11f70
This commit is contained in:
zeertzjq 2023-09-25 07:15:19 +08:00 committed by GitHub
commit 8195c18006
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 4 deletions

View File

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

View File

@ -467,8 +467,8 @@ rust.vim Debugging ~
register. register.
:RustInfoToFile [filename] *:RustInfoToFile* :RustInfoToFile [filename] *:RustInfoToFile*
Saves debugging info of the Vim Rust plugin to the the given Saves debugging info of the Vim Rust plugin to the given file,
file, overwritting it. overwriting it.
============================================================================== ==============================================================================
MAPPINGS *rust-mappings* MAPPINGS *rust-mappings*

View File

@ -482,7 +482,7 @@ The function will be called with the list of arguments so far, and a second
argument that is the name of the pty. argument that is the name of the pty.
*gdb-version* *gdb-version*
Only debuggers fully compatible with gdb will work. Vim uses the GDB/MI Only debuggers fully compatible with gdb will work. Vim uses the GDB/MI
interface. The "new-ui" command requires gdb version 7.12 or later. if you interface. The "new-ui" command requires gdb version 7.12 or later. If you
get this error: get this error:
Undefined command: "new-ui". Try "help".~ Undefined command: "new-ui". Try "help".~
Then your gdb is too old. Then your gdb is too old.

View File

@ -9192,6 +9192,7 @@ function vim.fn.strtrans(string) end
--- echo strutf16len('😊') " returns 2 --- echo strutf16len('😊') " returns 2
--- echo strutf16len('ą́') " returns 1 --- echo strutf16len('ą́') " returns 1
--- echo strutf16len('ą́', v:true) " returns 3 --- echo strutf16len('ą́', v:true) " returns 3
--- <
--- ---
--- @param string string --- @param string string
--- @param countcc? 0|1 --- @param countcc? 0|1

View File

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