neovim/runtime
Grzegorz Rozdzialik 339067ab7e fix(lsp): avoid reusing diagnostics from different servers in actions (#30002)
Problem: When preparing the parameters for a code actions LSP request,
the code set `context.diagnostics` when processing the first LSP client,
and then reused those `context.diagnostics` for subsequent LSP clients.

This meant that the second and next LSP clients got diagnostics that
did not originate from them, and they did not get the diagnostics that
they sent.

Solution: Avoid setting `context.diagnostics` (which is referenced by
all clients). Instead, set `params.context.diagnostics` directly, which
is specific to a single client.

Fixes #30001
Caused by #29501

(cherry picked from commit 7031949be0)
2024-08-07 18:09:27 +02:00
..
autoload vim-patch:43f2edc096cb 2024-05-14 08:27:17 +02:00
colors fix(treesitter): document more standard highlight groups 2024-03-19 09:41:16 +01:00
compiler vim-patch:79952b9c6774 2024-04-27 11:01:14 +02:00
doc docs(treesitter): don't quote metadata 2024-07-28 16:36:22 +02:00
ftplugin fix(runtime): add commentstring for glsl ftplugin 2024-06-09 14:56:21 +02:00
indent vim-patch:9.1.0386: filetype: stylus files not recognized 2024-05-02 00:37:16 +02:00
keymap
lua fix(lsp): avoid reusing diagnostics from different servers in actions (#30002) 2024-08-07 18:09:27 +02:00
macros
pack/dist/opt vim-patch:d3c0ff5d5a90 2024-03-24 10:32:07 +01:00
plugin fix(tohtml): support ranges again 2024-07-18 09:44:52 +02:00
queries fix(runtime): sync bundled treesitter queries 2024-07-28 16:36:22 +02:00
spell
syntax vim-patch:0b74eec: runtime(stylus): remove remaining css code (vim/vim#14866) 2024-05-28 07:00:03 +00:00
tools
tutor docs: fix typos (#27868) 2024-03-28 09:32:32 +08:00
CMakeLists.txt
delmenu.vim
filetype.lua fix(filetype): use unexpanded file name (#27931) 2024-03-23 11:46:23 +08:00
ftoff.vim
ftplugin.vim
ftplugof.vim
indent.vim
indoff.vim
macmap.vim
makemenu.vim
menu.vim
mswin.vim vim-patch:45da32964d6e 2024-03-14 15:04:31 +08:00
neovim.ico
nvim.appdata.xml NVIM 0.10.1 2024-07-24 09:20:05 +02:00
nvim.desktop
nvim.png
optwin.vim vim-patch:9.1.0147: Cannot keep a buffer focused in a window 2024-03-11 11:38:13 +08:00
synmenu.vim