diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/builtin.txt | 9 | ||||
-rw-r--r-- | runtime/lua/vim/_meta/vimfn.lua | 9 |
2 files changed, 14 insertions, 4 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index 9510f12045..400cd27302 100644 --- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -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. diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua index 3f891bdb45..6209ce0c73 100644 --- a/runtime/lua/vim/_meta/vimfn.lua +++ b/runtime/lua/vim/_meta/vimfn.lua @@ -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. --- |