Skip to content

Commit 088bb2d

Browse files
committed
fix: workspace/didChangeWatchedFiles on nvim stable
we need to pass the capabilities to the client for some reason Fixes #148
1 parent 0930654 commit 088bb2d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/elixir/nextls/init.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ function M.setup(opts)
4141
NEXTLS_VERSION = opts.version,
4242
},
4343
settings = {},
44+
capabilities = opts.capabilities or vim.lsp.protocol.make_client_capabilities(),
4445
workspace_folders = {
4546
{ name = root_dir, uri = vim.uri_from_fname(root_dir) },
4647
},

0 commit comments

Comments
 (0)