neovim/runtime
Grzegorz Rozdzialik 7031949be0
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
2024-08-07 17:28:01 +02:00
..
autoload vim-patch:afea6b9: runtime(zip): use defer to restore old settings 2024-08-07 07:16:26 +08:00
colors vim-patch:6228481: runtime(colors): update Todo highlight in habamax colorscheme 2024-08-03 15:22:11 +02:00
compiler vim-patch:1cc4cae: runtime(typst): Add typst runtime files 2024-07-16 09:43:57 +02:00
doc docs(treesitter): generate inline docs for Ranges 2024-08-06 18:18:34 +02:00
ftplugin vim-patch:9.1.0655: filetype: goaccess config file not recognized 2024-08-03 00:16:22 +02:00
indent vim-patch:c0f7505: runtime(lua): add/subtract a 'shiftwidth' after '('/')' in indentexpr 2024-08-04 19:00:10 +02:00
keymap vim-patch:79a14c0: runtime(keymap): include Georgian keymap 2024-06-14 23:58:27 +02:00
lua fix(lsp): avoid reusing diagnostics from different servers in actions (#30002) 2024-08-07 17:28:01 +02:00
macros
pack/dist/opt vim-patch:5753d99: runtime(nohlsearch): add missing loaded_hlsearch guard 2024-07-31 23:06:28 +02:00
plugin fix(tohtml): support ranges again 2024-07-16 15:07:40 +02:00
queries fix(runtime): sync bundled treesitter queries 2024-07-28 16:13:11 +02:00
spell
syntax vim-patch:9.1.0655: filetype: goaccess config file not recognized 2024-08-03 00:16:22 +02:00
tools
tutor docs: misc (#28837) 2024-06-07 10:55:14 +08:00
CMakeLists.txt
delmenu.vim
filetype.lua refactor: use vim._with where possible 2024-06-28 19:58:31 +02:00
ftoff.vim
ftplugin.vim
ftplugof.vim
indent.vim
indoff.vim
macmap.vim
makemenu.vim
menu.vim
mswin.vim
neovim.ico
nvim.appdata.xml
nvim.desktop
nvim.png
optwin.vim vim-patch:9.1.0572: cannot specify tab page closing behaviour (#29682) 2024-07-13 08:56:58 +08:00
synmenu.vim
windows_icon.rc feat(win32): embed executable icon 2024-07-02 13:05:16 +02:00