Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LSP action broken (apply_workspace_edit) #692

Open
klarkc opened this issue Aug 3, 2023 · 1 comment
Open

LSP action broken (apply_workspace_edit) #692

klarkc opened this issue Aug 3, 2023 · 1 comment

Comments

@klarkc
Copy link
Contributor

klarkc commented Aug 3, 2023

While applying an action from the purescript-language-server vim throws:

Error detected while processing function <SNR>232_on_accept[10]..<SNR>232_notify[2]..<SNR>2
31_quickpick_accept_code_action[5]..<SNR>231_handle_one_code_action[3]..lsp#utils#workspace
_edit#apply_workspace_edit:
line    3:
E1206: Dictionary required for argument 1
Press ENTER or type command to continue

I don't know why this happens, but I found some mentions of this function in the code base:

@klarkc
Copy link
Contributor Author

klarkc commented Nov 21, 2023

I have a workaround in place in klarkc/vim-lsp, I'm still figuring out if we should fix the issue on the LSP server or in the LSP client.

klarkc added a commit to klarkc/dotfiles that referenced this issue Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant