mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
9c20342297
Problem:
An LSP configuration that creates client with no root_dir or
workspace_folders can result in vim.lsp.enable attaching to it multiple
times.
Solution:
When checking existing clients, reuse a client if it wasn't initially
configured have any workspace_folders. This more closely matches the
behaviour we had prior to
|
||
---|---|---|
.. | ||
codelens_spec.lua | ||
completion_spec.lua | ||
diagnostic_spec.lua | ||
folding_range_spec.lua | ||
incremental_sync_spec.lua | ||
inlay_hint_spec.lua | ||
semantic_tokens_spec.lua | ||
snippet_spec.lua | ||
testutil.lua | ||
utils_spec.lua |