mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -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
|
||
---|---|---|
.. | ||
lsp | ||
ccomplete_spec.lua | ||
cfilter_spec.lua | ||
editorconfig_spec.lua | ||
health_spec.lua | ||
lsp_spec.lua | ||
man_spec.lua | ||
matchparen_spec.lua | ||
msgpack_spec.lua | ||
shada_spec.lua | ||
tohtml_spec.lua | ||
tutor_spec.lua | ||
vim_syntax_spec.lua |