Mercurial > vim
comparison runtime/doc/eval.txt @ 12048:ebd313aa5a6c v8.0.0904
patch 8.0.0904: cannot set a location list from text
commit https://github.com/vim/vim/commit/ae338338508ef42866204f90dca861ac555f4298
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Aug 11 20:25:26 2017 +0200
patch 8.0.0904: cannot set a location list from text
Problem: Cannot set a location list from text.
Solution: Add the "text" argument to setqflist(). (Yegappan Lakshmanan)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 11 Aug 2017 20:30:05 +0200 |
parents | 444ad56c0cac |
children | 0498547dace0 |
comparison
equal
deleted
inserted
replaced
12047:005fcad44592 | 12048:ebd313aa5a6c |
---|---|
6971 |k| motions will jump to previous columns! Use |cursor()| to | 6971 |k| motions will jump to previous columns! Use |cursor()| to |
6972 also set the preferred column. Also see the "curswant" key in | 6972 also set the preferred column. Also see the "curswant" key in |
6973 |winrestview()|. | 6973 |winrestview()|. |
6974 | 6974 |
6975 setqflist({list} [, {action}[, {what}]]) *setqflist()* | 6975 setqflist({list} [, {action}[, {what}]]) *setqflist()* |
6976 Create or replace or add to the quickfix list using the items | 6976 Create or replace or add to the quickfix list. |
6977 in {list}. Each item in {list} is a dictionary. | 6977 |
6978 Non-dictionary items in {list} are ignored. Each dictionary | 6978 When {what} is not present, use the items in {list}. Each |
6979 item can contain the following entries: | 6979 item must be a dictionary. Non-dictionary items in {list} are |
6980 ignored. Each dictionary item can contain the following | |
6981 entries: | |
6980 | 6982 |
6981 bufnr buffer number; must be the number of a valid | 6983 bufnr buffer number; must be the number of a valid |
6982 buffer | 6984 buffer |
6983 filename name of a file; only used when "bufnr" is not | 6985 filename name of a file; only used when "bufnr" is not |
6984 present or it is invalid. | 6986 present or it is invalid. |
7026 If the optional {what} dictionary argument is supplied, then | 7028 If the optional {what} dictionary argument is supplied, then |
7027 only the items listed in {what} are set. The first {list} | 7029 only the items listed in {what} are set. The first {list} |
7028 argument is ignored. The following items can be specified in | 7030 argument is ignored. The following items can be specified in |
7029 {what}: | 7031 {what}: |
7030 context any Vim type can be stored as a context | 7032 context any Vim type can be stored as a context |
7033 text use 'errorformat' to extract items from the | |
7034 text and add the resulting entries to the | |
7035 quickfix list {nr}. The value can be a string | |
7036 with one line or a list with multiple lines. | |
7031 items list of quickfix entries. Same as the {list} | 7037 items list of quickfix entries. Same as the {list} |
7032 argument. | 7038 argument. |
7033 nr list number in the quickfix stack; zero | 7039 nr list number in the quickfix stack; zero |
7034 means the current quickfix list and '$' means | 7040 means the current quickfix list and '$' means |
7035 the last quickfix list | 7041 the last quickfix list |