mattn / vim-lsp-settings

Auto configurations for Language Server for vim-lsp
MIT License
1.27k stars 229 forks source link

LSP action broken (apply_workspace_edit) #692

Open klarkc opened 11 months ago

klarkc commented 11 months ago

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 commented 8 months ago

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.