You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.
Foremost, thanks a lot for making this plugin available to all neo-vimmers out there!
The actions displayed by the code actions menu work most of the time, except for the "Insert type annotation" one of Kind: refactor.rewrite and Name: insert-inferred-type.
However, running :lua vim.lsp.buf.code_action() works without issues. I've tested it using the nvim-metals plugin for the Scala language.
Not sure how to debug this, but happy to do more debugging and provide more details if you can guide me a little bit.
Damn it. The whole refactoring of this plugin is soooo overdue. I'm afraid something in the NeoVim core has changed again. But it is a bit awkward.
I'm very sorry for your inconvenience. Unless you are willed to dig into the code of the plugin yourself and open a PR. I'm afraid I still struggle to find time to properly work on this plugin again. I got too much intention and was poorly written. 😕
In theory you only have to make a manual call to figure out if this is a command or an edit. Afterwards you can check this or thatexecute function that calls the underlying NeoVim core functionality. Maybe that gives you already an hint.
Foremost, thanks a lot for making this plugin available to all neo-vimmers out there!
The actions displayed by the code actions menu work most of the time, except for the "Insert type annotation" one of
Kind: refactor.rewrite
andName: insert-inferred-type
.However, running
:lua vim.lsp.buf.code_action()
works without issues. I've tested it using the nvim-metals plugin for the Scala language.Not sure how to debug this, but happy to do more debugging and provide more details if you can guide me a little bit.
Here's a demo video showcasing the issue.
code-actions-menu-2022-10-07_11.56.26.mp4
The text was updated successfully, but these errors were encountered: