feat: use nvim code-actions
This commit is contained in:
parent
af1ad8dec6
commit
a3d0c3623d
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ require("nvim-lsp-setup").setup({
|
||||||
K = "lua vim.lsp.buf.hover()",
|
K = "lua vim.lsp.buf.hover()",
|
||||||
["<C-k>"] = "lua vim.lsp.buf.signature_help()",
|
["<C-k>"] = "lua vim.lsp.buf.signature_help()",
|
||||||
["<leader>rn"] = "lua vim.lsp.buf.rename()",
|
["<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>f"] = "lua vim.lsp.buf.formatting()",
|
||||||
["<leader>e"] = "lua vim.lsp.diagnostic.show_line_diagnostics()",
|
["<leader>e"] = "lua vim.lsp.diagnostic.show_line_diagnostics()",
|
||||||
["<leader>d"] = "Telescope diagnostics",
|
["<leader>d"] = "Telescope diagnostics",
|
||||||
|
|
Loading…
Reference in a new issue