mattn / mattn/vim-lsp-settings
LSP action broken (apply_workspace_edit)
Open
Nobody has claimed this yet.
- Dominant language
- Vim Script
- Stars
- 1.4k
- Forks
- 245
- Avg merge
- 3m
- Merged PRs (30d)
- 1
Description
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:
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the purescript-language-server action and inspect lsp#utils#workspace_edit#apply_workspace_edit where Vim reports E1206. Compare the referenced settings/eclipse-jdt-ls.vim and settings/rust-analyzer.vim usages, then verify that applying the action completes without the dictionary error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vim
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100