aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/vimfn.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-09-04 08:49:50 +0800
committerGitHub <noreply@github.com>2023-09-04 08:49:50 +0800
commitc431d820e7be1c511d3d16e89cdffaa21b7909fa (patch)
treed79dcb6ea3c16021d253e4b2e8fe617dfe0dcf4d /runtime/lua/vim/_meta/vimfn.lua
parentc50951a4d0cf480aa138a2ed2bd2deedebeb0dec (diff)
downloadrneovim-c431d820e7be1c511d3d16e89cdffaa21b7909fa.tar.gz
rneovim-c431d820e7be1c511d3d16e89cdffaa21b7909fa.tar.bz2
rneovim-c431d820e7be1c511d3d16e89cdffaa21b7909fa.zip
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. https://github.com/vim/vim/commit/aa90d4f031f73a34aaef5746931ea746849a2231 Co-authored-by: Christ van Willegen <cvwillegen@gmail.com>
Diffstat (limited to 'runtime/lua/vim/_meta/vimfn.lua')
-rw-r--r--runtime/lua/vim/_meta/vimfn.lua9
1 files changed, 7 insertions, 2 deletions
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.
---