39 -- Support pull diagnostics until 0.10 |
39 -- Support pull diagnostics until 0.10 |
40 { "catlee/pull_diags.nvim", event = "LspAttach", config = true }, |
40 { "catlee/pull_diags.nvim", event = "LspAttach", config = true }, |
41 |
41 |
42 { |
42 { |
43 "aznhe21/actions-preview.nvim", |
43 "aznhe21/actions-preview.nvim", |
44 keys = "<leader>ca", |
44 event = "LspAttach", |
45 opts = { |
45 opts = { |
46 nui = { |
46 nui = { |
47 keymap = { close = { "<ESC>", "<C-c>", "q" } }, |
47 keymap = { close = { "<ESC>", "<C-c>", "q" } }, |
48 }, |
48 }, |
49 }, |
49 }, |
50 config = function(_, opts) |
|
51 require("actions-preview").setup(opts) |
|
52 vim.keymap.set("n", "<leader>ca", require("actions-preview").code_actions, { silent = true }) |
|
53 end, |
|
54 }, |
50 }, |
55 |
51 |
56 { |
52 { |
57 "ray-x/lsp_signature.nvim", |
53 "ray-x/lsp_signature.nvim", |
58 branch = "master", |
54 branch = "master", |