Mercurial > vim
diff runtime/doc/eval.txt @ 11390:73cfcf11d983 v8.0.0580
patch 8.0.0580: cannot set the valid flag with setqflist()
commit https://github.com/vim/vim/commit/f1d21c8cc83f40c815b6bf13cd2043152db533ee
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 22 21:20:46 2017 +0200
patch 8.0.0580: cannot set the valid flag with setqflist()
Problem: Cannot set the valid flag with setqflist().
Solution: Add the "valid" argument. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/1642)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 22 Apr 2017 21:30:03 +0200 |
parents | 4aae8146c21f |
children | 0f8713fe20dc |
line wrap: on
line diff
--- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -6945,6 +6945,7 @@ setqflist({list} [, {action}[, {what}]]) nr error number text description of the error type single-character error type, 'E', 'W', etc. + valid recognized error message The "col", "vcol", "nr", "type" and "text" entries are optional. Either "lnum" or "pattern" entry can be used to @@ -6954,6 +6955,8 @@ setqflist({list} [, {action}[, {what}]]) item will not be handled as an error line. If both "pattern" and "lnum" are present then "pattern" will be used. + If the "valid" entry is not supplied, then the valid flag is + set when "bufnr" is a valid buffer or "filename" exists. If you supply an empty {list}, the quickfix list will be cleared. Note that the list is not exactly the same as what