From 7579af3c514c44581fe33b5c03660cdfda7d658e Mon Sep 17 00:00:00 2001 From: Jeremy Fleischman Date: Wed, 4 Dec 2024 07:49:57 -0800 Subject: feat(diagnostic): vim.diagnostic.setqflist improvements #30868 1. Use the new "u" action to update the quickfix list so we don't lose our position in the quickfix list when updating it. 2. Rather than creating a new quickfix list each time, update the exiting one if we've already created one. --- runtime/doc/news.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'runtime/doc') diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt index ad3f2c0a6a..c309d85297 100644 --- a/runtime/doc/news.txt +++ b/runtime/doc/news.txt @@ -303,6 +303,8 @@ UI |hl-PmenuSel| and |hl-PmenuMatch| both inherit from |hl-Pmenu|, and |hl-PmenuMatchSel| inherits highlights from both |hl-PmenuSel| and |hl-PmenuMatch|. +• |vim.diagnostic.setqflist()| updates existing diagnostics quickfix list if one + exists. • |ui-messages| content chunks now also contain the highlight group ID. -- cgit