neovim/runtime
Chris AtLee c235959fd9
fix(lsp): only disable inlay hints / diagnostics if no other clients are connected (#24535)
This fixes the issue where the LspNotify handlers for inlay_hint /
diagnostics would end up refreshing all attached clients.

The handler would call util._refresh, which called
vim.lsp.buf_request, which calls the method on all attached clients.

Now util._refresh takes an optional client_id parameter, which is used
to specify a specific client to update.

This commit also fixes util._refresh's handling of the `only_visible`
flag. Previously if `only_visible` was false, two requests would be made
to the server: one for the visible region, and one for the entire file.

Co-authored-by: Stanislav Asunkin <1353637+stasjok@users.noreply.github.com>
Co-authored-by: Mathias Fußenegger <mfussenegger@users.noreply.github.com>
2023-08-31 10:00:24 +02:00
..
autoload fix(runtime/tutor): don't try to close fold when there is none (#24953) 2023-08-31 09:18:39 +08:00
colors vim-patch:e978b4534a5e (#24697) 2023-08-13 13:25:10 +01:00
compiler vim-patch:e978b4534a5e (#24697) 2023-08-13 13:25:10 +01:00
doc vim-patch:a5eb6785efcc 2023-08-30 09:55:24 +02:00
ftplugin vim-patch:9d8ef7cc4340 2023-08-30 18:46:52 +02:00
indent vim-patch:0382f05dbd65 2023-08-29 11:32:46 +02:00
keymap vim-patch:e8d6f03f6a61 2023-08-23 20:36:16 +01:00
lua fix(lsp): only disable inlay hints / diagnostics if no other clients are connected (#24535) 2023-08-31 10:00:24 +02:00
macros vim-patch:e8d6f03f6a61 2023-08-23 20:36:16 +01:00
pack/dist/opt refactor(termdebug): reindent some things 2023-08-25 11:24:52 +01:00
plugin feat(treesitter): add a query editor (#24703) 2023-08-25 13:17:36 -05:00
queries build(deps): bump tree-sitter-python to v0.20.4 2023-08-27 10:03:24 +09:00
spell
syntax vim-patch:535b9e12d02f 2023-08-28 11:03:37 +09:00
tools
tutor fix(tutor): don't use concealed text in expected lines #24316 2023-07-11 10:09:44 -07:00
CMakeLists.txt refactor(build): move the last generator from scripts/ to src/nvim/generators 2023-04-21 16:46:35 +02:00
delmenu.vim vim-patch:e978b4534a5e (#24697) 2023-08-13 13:25:10 +01:00
filetype.lua fix(filetype): make sure buffer is valid before call nvim_buf_call (#24922) 2023-08-30 10:14:58 -05:00
ftoff.vim vim-patch:e978b4534a5e (#24697) 2023-08-13 13:25:10 +01:00
ftplugin.vim vim-patch:e978b4534a5e (#24697) 2023-08-13 13:25:10 +01:00
ftplugof.vim vim-patch:e978b4534a5e (#24697) 2023-08-13 13:25:10 +01:00
indent.vim vim-patch:e978b4534a5e (#24697) 2023-08-13 13:25:10 +01:00
indoff.vim vim-patch:e978b4534a5e (#24697) 2023-08-13 13:25:10 +01:00
macmap.vim
makemenu.vim vim-patch:e978b4534a5e (#24697) 2023-08-13 13:25:10 +01:00
menu.vim vim-patch:e059fae10044 2023-08-24 11:33:06 +09:00
mswin.vim vim-patch:e978b4534a5e (#24697) 2023-08-13 13:25:10 +01:00
neovim.ico
nvim.appdata.xml NVIM v0.9.0 2023-04-07 13:26:29 +02:00
nvim.desktop
nvim.png
optwin.vim vim-patch:e978b4534a5e (#24697) 2023-08-13 13:25:10 +01:00
synmenu.vim vim-patch:e978b4534a5e (#24697) 2023-08-13 13:25:10 +01:00