Skip to content

Commit

Permalink
Update neovim example when using UDS
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
EliteTK authored and pr2502 committed Oct 8, 2024
1 parent 7c90bb2 commit a3f1a5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/neovim/init.lua
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit a3f1a5c

Please sign in to comment.