aznhe21 / actions-preview.nvim

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

Option to disable preview #46

Closed ilan-schemoul closed 2 months ago

ilan-schemoul commented 2 months ago

Hello, I wish I could disable previews as I just like having the popup menu not the preview :) Or at least the possibility to put the preview below the list of actions so my eyes can first focus on what matters most to me.

aznhe21 commented 2 months ago

You can achive that by using stevearc/dressing.nvim.

ilan-schemoul commented 2 months ago

Can you tell me more ? I don't see what options control the preview ?

aznhe21 commented 2 months ago
  1. Install dressing.nvim (instead of actions-preview.nvim) and setup the plugin.
  2. Run :=vim.lsp.buf.code_action()