Updated config

This commit is contained in:
2024-01-21 17:14:47 +01:00
parent ab6b2b1850
commit 4e74495124
10 changed files with 91 additions and 81 deletions

View File

@ -26,7 +26,7 @@ map("v", ">", ">gv")
map("n", "gr", vim.lsp.buf.references, "References")
map("n", "gd", vim.lsp.buf.definition, "Definition")
map({ "n", "i" }, "<f1>", vim.lsp.buf.hover, "Hover")
map("n", "<f2>", vim.lsp.buf.rename, "Rename")
map({ "n", "i" }, "<f2>", vim.lsp.buf.rename, "Rename")
map({ "n", "i" }, "<C-f>", vim.lsp.buf.format, "Format")
map("n", "<leader>ca", vim.lsp.buf.code_action, "Code action")