comparison runtime/doc/builtin.txt @ 33478:26a606faa9cb v9.0.1990

patch 9.0.1990: strange error number Commit: https://github.com/vim/vim/commit/ea746f9e862092aef3d4e95c64d116759b9fabe0 Author: Christ van Willegen <cvwillegen@gmail.com> Date: Thu Oct 5 20:48:36 2023 +0200 patch 9.0.1990: strange error number Problem: strange error number Solution: change error number, add doc tag for E1507 closes: #13270 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Christ van Willegen <cvwillegen@gmail.com>
author Christian Brabandt <cb@256bit.org>
date Thu, 05 Oct 2023 21:00:05 +0200
parents 3f96c75df76d
children 6c369db2e3be
comparison
equal deleted inserted replaced
33477:c5e0ce8a104e 33478:26a606faa9cb
6882 wrongly formatted lead to: > 6882 wrongly formatted lead to: >
6883 echo printf("%1$d at width %2$d is: %01$*2$.3$d", 1, 2) 6883 echo printf("%1$d at width %2$d is: %01$*2$.3$d", 1, 2)
6884 < E1505: Invalid format specifier: 6884 < E1505: Invalid format specifier:
6885 %1$d at width %2$d is: %01$*2$.3$d 6885 %1$d at width %2$d is: %01$*2$.3$d
6886 6886
6887 *E1507*
6888 This internal error indicates that the logic to
6889 parse a positional format error ran into a problem
6890 that couldn't be otherwise reported. Please file a
6891 bug against vim if you run into this, copying the
6892 exact format string and parameters that were used.
6893
6894
6887 prompt_getprompt({buf}) *prompt_getprompt()* 6895 prompt_getprompt({buf}) *prompt_getprompt()*
6888 Returns the effective prompt text for buffer {buf}. {buf} can 6896 Returns the effective prompt text for buffer {buf}. {buf} can
6889 be a buffer name or number. See |prompt-buffer|. 6897 be a buffer name or number. See |prompt-buffer|.
6890 6898
6891 If the buffer doesn't exist or isn't a prompt buffer, an empty 6899 If the buffer doesn't exist or isn't a prompt buffer, an empty