neovim/test/functional/plugin
Lewis Russell 9c20342297 fix(lsp): reuse client if configs match and no root dir
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 d9235ef
2024-12-13 14:36:24 +00:00
..
lsp fix(lsp): reuse client if configs match and no root dir 2024-12-13 14:36:24 +00:00
ccomplete_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
cfilter_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
editorconfig_spec.lua test: support upvalues in exec_lua 2024-09-21 16:04:09 +01:00
health_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
lsp_spec.lua fix(lsp): reuse client if configs match and no root dir 2024-12-13 14:36:24 +00:00
man_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
matchparen_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
msgpack_spec.lua refactor(typval)!: remove distinction of binary and nonbinary strings 2024-06-27 11:04:04 +02:00
shada_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
tohtml_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
tutor_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
vim_syntax_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00