This commit is contained in:
Miguel Palhas
2026-02-21 14:59:54 +00:00
parent 671b8fa16c
commit 6b62931c52
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ M.on_attach = function(client, bufnr)
return { buffer = bufnr, desc = "LSP " .. desc }
end
map("n", "<leader>rn", require "nvchad.lsp.renamer", opts "NvRenamer")
map("n", "<leader>rn", vim.lsp.buf.rename, opts "Rename")
map("n", "gd", function()
require("telescope.builtin").lsp_definitions()
+1
View File
@@ -6,6 +6,7 @@ local map = vim.keymap.set
vim.keymap.del("n", "<leader>e")
vim.keymap.del("n", "<C-n>")
vim.keymap.del("n", "<leader>rn")
map("n", "<leader>rn", vim.lsp.buf.rename, { desc = "LSP Rename" })
-- mini.files
map("n", "<leader>e", function()