Mercurial > vim
comparison runtime/doc/eval.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 | e4d5726e1678 |
comparison
equal
deleted
inserted
replaced
13820:2e78af0dc866 | 13821:98274127d675 |
---|---|
4735 getqflist([{what}]) *getqflist()* | 4735 getqflist([{what}]) *getqflist()* |
4736 Returns a list with all the current quickfix errors. Each | 4736 Returns a list with all the current quickfix errors. Each |
4737 list item is a dictionary with these entries: | 4737 list item is a dictionary with these entries: |
4738 bufnr number of buffer that has the file name, use | 4738 bufnr number of buffer that has the file name, use |
4739 bufname() to get the name | 4739 bufname() to get the name |
4740 module module name | |
4740 lnum line number in the buffer (first line is 1) | 4741 lnum line number in the buffer (first line is 1) |
4741 col column number (first column is 1) | 4742 col column number (first column is 1) |
4742 vcol |TRUE|: "col" is visual column | 4743 vcol |TRUE|: "col" is visual column |
4743 |FALSE|: "col" is byte index | 4744 |FALSE|: "col" is byte index |
4744 nr error number | 4745 nr error number |
7219 | 7220 |
7220 bufnr buffer number; must be the number of a valid | 7221 bufnr buffer number; must be the number of a valid |
7221 buffer | 7222 buffer |
7222 filename name of a file; only used when "bufnr" is not | 7223 filename name of a file; only used when "bufnr" is not |
7223 present or it is invalid. | 7224 present or it is invalid. |
7225 module name of a module; if given it will be used in | |
7226 quickfix error window instead of the filename. | |
7224 lnum line number in the file | 7227 lnum line number in the file |
7225 pattern search pattern used to locate the error | 7228 pattern search pattern used to locate the error |
7226 col column number | 7229 col column number |
7227 vcol when non-zero: "col" is visual column | 7230 vcol when non-zero: "col" is visual column |
7228 when zero: "col" is byte index | 7231 when zero: "col" is byte index |