comparison runtime/doc/builtin.txt @ 33148:7bc10151ce81 v9.0.1856

patch 9.0.1856: issues with formatting positional arguments Commit: https://github.com/vim/vim/commit/aa90d4f031f73a34aaef5746931ea746849a2231 Author: Christ van Willegen <cvwillegen@gmail.com> Date: Sun Sep 3 17:22:37 2023 +0200 patch 9.0.1856: issues with formatting positional arguments Problem: issues with formatting positional arguments Solution: fix them, add tests and documentation closes: #12140 closes: #12985 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Christ van Willegen <cvwillegen@gmail.com> Tentatively fix message_test. Check NULL ptr.
author Christian Brabandt <cb@256bit.org>
date Sun, 03 Sep 2023 17:30:05 +0200
parents 351d2bbfe921
children def9fc5c92d1
comparison
equal deleted inserted replaced
33147:288d4aa3e263 33148:7bc10151ce81
6705 In no case does a non-existent or small field width 6705 In no case does a non-existent or small field width
6706 cause truncation of a numeric field; if the result of 6706 cause truncation of a numeric field; if the result of
6707 a conversion is wider than the field width, the field 6707 a conversion is wider than the field width, the field
6708 is expanded to contain the conversion result. 6708 is expanded to contain the conversion result.
6709 The 'h' modifier indicates the argument is 16 bits. 6709 The 'h' modifier indicates the argument is 16 bits.
6710 The 'l' modifier indicates the argument is 32 bits. 6710 The 'l' modifier indicates the argument is a long
6711 The 'L' modifier indicates the argument is 64 bits. 6711 integer. The size will be 32 bits or 64 bits
6712 depending on your platform.
6713 The "ll" modifier indicates the argument is 64 bits.
6714 The b and B conversion specifiers never take a width
6715 modifier and always assume their argument is a 64 bit
6716 integer.
6712 Generally, these modifiers are not useful. They are 6717 Generally, these modifiers are not useful. They are
6713 ignored when type is known from the argument. 6718 ignored when type is known from the argument.
6714 6719
6715 i alias for d 6720 i alias for d
6716 D alias for ld 6721 D alias for ld