Added actions preview plugin
This commit is contained in:
@@ -27,7 +27,9 @@ map("<leader>th", function()
|
||||
vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled())
|
||||
end, "Toggle inlay hints")
|
||||
|
||||
map("gra", vim.lsp.buf.code_action, "Code actions", { "n", "x" })
|
||||
map("gra", function()
|
||||
require("actions-preview").code_actions()
|
||||
end, "Code actions", { "n", "x" })
|
||||
map("grD", vim.lsp.buf.declaration, "Goto declaration")
|
||||
map("grd", function()
|
||||
require("telescope.builtin").lsp_definitions({ jump_type = "never" })
|
||||
|
||||
Reference in New Issue
Block a user