aznhe21 / actions-preview.nvim

Fully customizable previewer for LSP code actions.
GNU General Public License v3.0
365 stars 9 forks source link

Adding custom code actions #38

Closed lukoshkin closed 3 months ago

lukoshkin commented 4 months ago

Can I somehow create my own "code action"? (not based on lsp, just an entry that will show up under certain circumstances in the list of available actions)

I guess I should use one of make_value / make_make_display fields, but am not sure how

aznhe21 commented 3 months ago

No, this plugin is for code actions from LSP only.

FYI, you can start your own LSP server within Neovim, please refer to the implementation in crates.nvim.