misc clean

This commit is contained in:
siduck 2024-02-27 12:31:36 +05:30
parent a5fc21b4f1
commit afd8870358
5 changed files with 93 additions and 129 deletions

View file

@ -31,7 +31,11 @@ M.on_attach = function(client, bufnr)
end, opts "List workspace folders | lsp")
map("n", "<leader>D", vim.lsp.buf.type_definition, opts "Go to type definition | lsp")
map("n", "<leader>rn", vim.lsp.buf.rename, opts "Rename symbol | lsp")
map("n", "<leader>ra", function()
require "nvchad.renamer"()
end, opts "NvRename symbol | lsp")
map({ "n", "v" }, "<leader>ca", vim.lsp.buf.code_action, opts "Code action | lsp")
map("n", "gr", vim.lsp.buf.references, opts "Show references | lsp")
end