mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 17:21:49 +00:00
vim-patch:9.0.1856: issues with formatting positional arguments (#25013)
Problem: issues with formatting positional arguments
Solution: fix them, add tests and documentation
closes: vim/vim#12140
closes: vim/vim#12985
Tentatively fix message_test. Check NULL ptr.
aa90d4f031
Co-authored-by: Christ van Willegen <cvwillegen@gmail.com>
This commit is contained in:
9
runtime/doc/builtin.txt
generated
9
runtime/doc/builtin.txt
generated
@@ -5132,8 +5132,13 @@ printf({fmt}, {expr1} ...) *printf()*
|
||||
than the field width, the field is expanded to contain
|
||||
the conversion result.
|
||||
The 'h' modifier indicates the argument is 16 bits.
|
||||
The 'l' modifier indicates the argument is 32 bits.
|
||||
The 'L' modifier indicates the argument is 64 bits.
|
||||
The 'l' modifier indicates the argument is a long
|
||||
integer. The size will be 32 bits or 64 bits
|
||||
depending on your platform.
|
||||
The "ll" modifier indicates the argument is 64 bits.
|
||||
The b and B conversion specifiers never take a width
|
||||
modifier and always assume their argument is a 64 bit
|
||||
integer.
|
||||
Generally, these modifiers are not useful. They are
|
||||
ignored when type is known from the argument.
|
||||
|
||||
|
9
runtime/lua/vim/_meta/vimfn.lua
generated
9
runtime/lua/vim/_meta/vimfn.lua
generated
@@ -6115,8 +6115,13 @@ function vim.fn.prevnonblank(lnum) end
|
||||
--- than the field width, the field is expanded to contain
|
||||
--- the conversion result.
|
||||
--- The 'h' modifier indicates the argument is 16 bits.
|
||||
--- The 'l' modifier indicates the argument is 32 bits.
|
||||
--- The 'L' modifier indicates the argument is 64 bits.
|
||||
--- The 'l' modifier indicates the argument is a long
|
||||
--- integer. The size will be 32 bits or 64 bits
|
||||
--- depending on your platform.
|
||||
--- The "ll" modifier indicates the argument is 64 bits.
|
||||
--- The b and B conversion specifiers never take a width
|
||||
--- modifier and always assume their argument is a 64 bit
|
||||
--- integer.
|
||||
--- Generally, these modifiers are not useful. They are
|
||||
--- ignored when type is known from the argument.
|
||||
---
|
||||
|
Reference in New Issue
Block a user