aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/executable_spec.lua
diff options
context:
space:
mode:
authorRobert Muir <rmuir@apache.org>2026-01-11 17:41:26 -0500
committerGitHub <noreply@github.com>2026-01-11 14:41:26 -0800
commit1629493f72e8b839cbe039cc99f5a49729e96e8a (patch)
tree3b7f48f23a88dc0d22fbf02f7d2bc1cceee4ab50 /test/functional/vimscript/executable_spec.lua
parent94144d46787fc396dd9e830f2cde5a09f2b4307d (diff)
downloadrneovim-1629493f72e8b839cbe039cc99f5a49729e96e8a.tar.gz
rneovim-1629493f72e8b839cbe039cc99f5a49729e96e8a.tar.bz2
rneovim-1629493f72e8b839cbe039cc99f5a49729e96e8a.zip
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.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions