add rename to rust

main
Zynh0722 2023-04-18 12:51:16 -07:00
parent 4c6e0834b5
commit 54ea5e727e
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ rt.setup({
-- vim.keymap.set("n", "]d", function() vim.diagnostic.goto_prev() end, opts) -- vim.keymap.set("n", "]d", function() vim.diagnostic.goto_prev() end, opts)
-- vim.keymap.set("n", "<leader>vca", function() vim.lsp.buf.code_action() end, opts) -- vim.keymap.set("n", "<leader>vca", function() vim.lsp.buf.code_action() end, opts)
-- vim.keymap.set("n", "<leader>vrr", function() vim.lsp.buf.references() end, opts) -- vim.keymap.set("n", "<leader>vrr", function() vim.lsp.buf.references() end, opts)
-- vim.keymap.set("n", "<leader>vrn", function() vim.lsp.buf.rename() end, opts) vim.keymap.set("n", "<leader>vrn", function() vim.lsp.buf.rename() end, opts)
-- vim.keymap.set("i", "<C-h>", function() vim.lsp.buf.signature_help() end, opts) -- vim.keymap.set("i", "<C-h>", function() vim.lsp.buf.signature_help() end, opts)
vim.keymap.set("n", "<leader>fd", function() vim.lsp.buf.format() end, opts) vim.keymap.set("n", "<leader>fd", function() vim.lsp.buf.format() end, opts)
end, end,