Skip to content
This repository was archived by the owner on Dec 11, 2023. It is now read-only.
This repository was archived by the owner on Dec 11, 2023. It is now read-only.

Plugin fails to insert type annotation #57

@gvolpe

Description

@gvolpe

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.

NVIM v0.7.2
nvim-code-action-menu: latest master, revision: 58e12501ea028ff1171f8f06ea53891f7c6e1c3f

Here's a demo video showcasing the issue.

code-actions-menu-2022-10-07_11.56.26.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions