feat: use nvim code-actions
parent
af1ad8dec6
commit
a3d0c3623d
|
@ -19,7 +19,7 @@ require("nvim-lsp-setup").setup({
|
|||
K = "lua vim.lsp.buf.hover()",
|
||||
["<C-k>"] = "lua vim.lsp.buf.signature_help()",
|
||||
["<leader>rn"] = "lua vim.lsp.buf.rename()",
|
||||
["<leader>ca"] = "Telescope lsp_code_actions theme=cursor",
|
||||
["<leader>ca"] = "lua vim.lsp.buf.code_action()",
|
||||
["<leader>f"] = "lua vim.lsp.buf.formatting()",
|
||||
["<leader>e"] = "lua vim.lsp.diagnostic.show_line_diagnostics()",
|
||||
["<leader>d"] = "Telescope diagnostics",
|
||||
|
|
Loading…
Reference in New Issue