Files
neovim/runtime/lua/vim
Robert Muir 1629493f72 perf(lsp): avoid textDocument/definition requests during tag completion (#37260)
Problem:
vim.lsp.tagfunc looks for the presence of 'c' (cursor) flag and issues
sync textDocument/definition requests to all clients, otherwise
workspace/symbol requests. But 'c' flag can also be set during the
insert mode completion, e.g. with an empty tag completion query, the tag
func receives pattern of '\<\k\k' with flags 'cir'.

Solution:
check for 'i' (insert mode completion) flag and don't issue any LSP
requests, return vim.NIL for immediate fallback to tags.
2026-01-11 14:41:26 -08:00
..
2026-01-07 08:11:42 +08:00
2025-08-17 11:54:53 +08:00
2025-06-06 15:36:48 +01:00
2026-01-07 18:42:20 +08:00
2026-01-09 10:07:15 +01:00
2025-09-16 11:41:36 +08:00
2025-09-16 11:41:36 +08:00
2025-11-22 19:32:45 -05:00