Mercurial > vim
diff runtime/doc/quickfix.txt @ 13821:98274127d675 v8.0.1782
patch 8.0.1782: no simple way to label quickfix entries
commit https://github.com/vim/vim/commit/d76ce852668635d81778cedacc2d3f021ed4e475
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue May 1 15:02:04 2018 +0200
patch 8.0.1782: no simple way to label quickfix entries
Problem: No simple way to label quickfix entries.
Solution: Add the "module" item, to be used instead of the file name for
display purposes. (Martin Szamotulski, closes #1757)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 01 May 2018 15:15:07 +0200 |
parents | 28ac7914b2b6 |
children | e751b5c9dff3 |
line wrap: on
line diff
--- a/runtime/doc/quickfix.txt +++ b/runtime/doc/quickfix.txt @@ -1220,6 +1220,7 @@ you want to match case, add "\C" to the Basic items %f file name (finds a string) + %o module name (finds a string) %l line number (finds a number) %c column number (finds a number representing character column of the error, (1 <tab> == 1 character column)) @@ -1264,6 +1265,11 @@ conversion can be used to locate lines w output. Like the output of the "grep" shell command. When the pattern is present the line number will not be used. +The "%o" conversion specifies the module name in quickfix entry. If present +it will be used in quickfix error window instead of the filename. The module +name is used only for displaying purposes, the file name is used when jumping +to the file. + Changing directory The following uppercase conversion characters specify the type of special