aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/diagnostic.txt
diff options
context:
space:
mode:
authorJeremy Fleischman <jeremyfleischman@gmail.com>2024-12-11 17:29:54 -0800
committerGitHub <noreply@github.com>2024-12-11 17:29:54 -0800
commit21961967ffef6d49512b83a23b6c93bb8b80389a (patch)
tree0a3178d768c1085fc46294aca167110b56bf16e3 /runtime/doc/diagnostic.txt
parent442d338cb50e4cf08c58cb82b6d33b6d5df9fb1b (diff)
downloadrneovim-21961967ffef6d49512b83a23b6c93bb8b80389a.tar.gz
rneovim-21961967ffef6d49512b83a23b6c93bb8b80389a.tar.bz2
rneovim-21961967ffef6d49512b83a23b6c93bb8b80389a.zip
feat(diagnostic): update quickfix list by title #31486
Previously, there was a singleton diagnostics quickfix list. Now there's effectively one per title (up to vim's internal limit on quickfix lists). Suggested by mfussenegger https://github.com/neovim/neovim/pull/30868#pullrequestreview-2385761374.
Diffstat (limited to 'runtime/doc/diagnostic.txt')
-rw-r--r--runtime/doc/diagnostic.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/doc/diagnostic.txt b/runtime/doc/diagnostic.txt
index eaa3681caa..3437717467 100644
--- a/runtime/doc/diagnostic.txt
+++ b/runtime/doc/diagnostic.txt
@@ -874,7 +874,8 @@ setqflist({opts}) *vim.diagnostic.setqflist()*
• {open}? (`boolean`, default: `true`) Open quickfix list
after setting.
• {title}? (`string`) Title of quickfix list. Defaults to
- "Diagnostics".
+ "Diagnostics". If there's already a quickfix list with this
+ title, it's updated. If not, a new quickfix list is created.
• {severity}? (`vim.diagnostic.SeverityFilter`) See
|diagnostic-severity|.