Fix error in lsp attach hook
This commit is contained in:
parent
9a00d41394
commit
1d2a775658
1 changed files with 1 additions and 1 deletions
|
@ -37,5 +37,5 @@ return function(_, bufnr)
|
||||||
|
|
||||||
vim.api.nvim_buf_create_user_command(bufnr, "LspWorkspaces", function()
|
vim.api.nvim_buf_create_user_command(bufnr, "LspWorkspaces", function()
|
||||||
print(vim.inspect(vim.lsp.buf.list_workspace_folders()))
|
print(vim.inspect(vim.lsp.buf.list_workspace_folders()))
|
||||||
end, bufopts)
|
end, {})
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue