diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2023-10-25 20:50:28 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2023-10-25 20:50:28 +0200 |
commit | b731800522af00fd348814d33a065b92e698afc3 (patch) | |
tree | 7607eb64e4a8475a13341590ac6cd7bd7f2f499d /runtime/doc/quickfix.txt | |
parent | 5985879e3c36383155f84649fa42d06813a1893e (diff) |
patch 9.0.2064: cannot use buffer-number for errorformatv9.0.2064
Problem: cannot use buffer-number for errorformat
Solution: add support for parsing a buffer number using '%b' in
'errorformat'
closes: #13419
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Diffstat (limited to 'runtime/doc/quickfix.txt')
-rw-r--r-- | runtime/doc/quickfix.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/doc/quickfix.txt b/runtime/doc/quickfix.txt index 96ba382488..cbfd791d5d 100644 --- a/runtime/doc/quickfix.txt +++ b/runtime/doc/quickfix.txt @@ -1422,6 +1422,7 @@ rest is ignored. Items can only be 1023 bytes long. Basic items %f file name (finds a string) + %b buffer number (finds a number) %o module name (finds a string) %l line number (finds a number) %e end line number (finds a number) @@ -1461,6 +1462,11 @@ On MS-Windows a leading "C:" will be included in "%f", even when using "%f:". This means that a file name which is a single alphabetical letter will not be detected. +The "%b" conversion is used to parse a buffer number. This is useful for +referring to lines in a scratch buffer or a buffer with no name. If a buffer +with the matching number doesn't exist, then that line is used as a non-error +line. + The "%p" conversion is normally followed by a "^". It's used for compilers that output a line like: > ^ |