add rename to rust
parent
4c6e0834b5
commit
54ea5e727e
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue