From 424bfbc781018b6ae821736633b6975e150524a4 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Wed, 25 Sep 2024 15:20:05 +0100 Subject: [PATCH] Update neovim example when using UDS The provisional API for supporting UDS LSP connections for neovim was to provide a function vim.lsp.rpc.domain_socket_connect but neovim/neovim#28398 changed this to just be implemented using the regular vim.lsp.rpc.connect. This commit updates the neovim example to follow suit. --- examples/neovim/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/neovim/init.lua b/examples/neovim/init.lua index 7deb3a9..033e43b 100644 --- a/examples/neovim/init.lua +++ b/examples/neovim/init.lua @@ -1,7 +1,7 @@ require'lspconfig'.rust_analyzer.setup { cmd = vim.lsp.rpc.connect("127.0.0.1", 27631), -- When using unix domain sockets, use something like: - --cmd = vim.lsp.rpc.domain_socket_connect("/path/to/ra-multiplex.sock"), + --cmd = vim.lsp.rpc.connect("/path/to/ra-multiplex.sock"), init_options = { lspMux = { version = "1",