aboutsummaryrefslogtreecommitdiff
path: root/test/functional/plugin/lsp_spec.lua
diff options
context:
space:
mode:
authorMathias Fußenegger <mfussenegger@users.noreply.github.com>2024-04-18 15:34:10 +0200
committerGitHub <noreply@github.com>2024-04-18 15:34:10 +0200
commit97323d821be97deeb1a5797b4ca534156b9e9b0c (patch)
tree363af04083159214a9b7d1fd01e0a3d060f6e5b6 /test/functional/plugin/lsp_spec.lua
parent206475d7919ccdefd32022a32b204c8941b48fa6 (diff)
downloadrneovim-97323d821be97deeb1a5797b4ca534156b9e9b0c.tar.gz
rneovim-97323d821be97deeb1a5797b4ca534156b9e9b0c.tar.bz2
rneovim-97323d821be97deeb1a5797b4ca534156b9e9b0c.zip
refactor(lsp): merge rpc.domain_socket_connect into rpc.connect (#28398)
See discussion in https://github.com/neovim/neovim/pull/26850
Diffstat (limited to 'test/functional/plugin/lsp_spec.lua')
-rw-r--r--test/functional/plugin/lsp_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/plugin/lsp_spec.lua b/test/functional/plugin/lsp_spec.lua
index 1ff29bf74f..feca31c01b 100644
--- a/test/functional/plugin/lsp_spec.lua
+++ b/test/functional/plugin/lsp_spec.lua
@@ -4311,7 +4311,7 @@ describe('LSP', function()
]]
eq('initialize', result.method)
end)
- it('can connect to lsp server via rpc.domain_socket_connect', function()
+ it('can connect to lsp server via pipe or domain_socket', function()
local tmpfile --- @type string
if is_os('win') then
tmpfile = '\\\\.\\\\pipe\\pipe.test'
@@ -4336,7 +4336,7 @@ describe('LSP', function()
client:close()
end))
end)
- vim.lsp.start({ name = "dummy", cmd = vim.lsp.rpc.domain_socket_connect(SOCK) })
+ vim.lsp.start({ name = "dummy", cmd = vim.lsp.rpc.connect(SOCK) })
vim.wait(1000, function() return init ~= nil end)
assert(init, "server must receive `initialize` request")
server:close()