Open hsommerlandreason opened 1 year ago
This seems like a vim issue as far as I can see, I cannot help with that.
I don't see any reason this should be to do with formatting specifically, but it does seem from a googling to be vim configuration related. Maybe try deleting as much of your config as possible and seeing if the error persists
This is also happening with me in any code-action, the error message is pretty close:
Error detected while processing function <SNR>169_on_accept[10]..<SNR>169_notify[2]..<SNR>168_quickpick_accept_code_action[5]..<SNR>168_handle
_one_code_action[3]..lsp#utils#workspace_edit#apply_workspace_edit:
line 3:
E1206: Dictionary required for argument 1
It also might be happening only in vim-lsp-settings (I have added purescript-language-server there, but it might be missing some option).
This a cleared up .vimrc that I have tested and is failing: https://github.com/klarkc/dotfiles/blob/c4922f3034ca1f790a34035100d999a5e024457b/.vimrc
I keep getting an Dictionary Required error when I am trying to apply the sort imports code actions. I don't know why and haven't really been able to find any conclusive info. But I am fucking retarded so it shouldn't come as a surprise if I have just fucked something up.
I think it might be because the
formatter
option is not configured but I have tried set it in various different ways whilst usingvim-lsp-settings
but i am unsure if it has any effect.Im using NVIM v0.8.3 and purescript-language-server 0.17.1.
This ight be the completely wrong repo to post about this in.