add keymaps

This commit is contained in:
xfy
2024-09-11 11:42:48 +08:00
parent 76e0777244
commit d0fc46f5f6
2 changed files with 13 additions and 2 deletions

View File

@ -2,6 +2,15 @@ return {
{
"Saecki/crates.nvim",
event = { "BufRead Cargo.toml" },
keys = {
{
"<leader>cu",
function()
require("crates").upgrade_all_crates()
end,
desc = "Update crates",
},
},
opts = {
completion = {
cmp = { enabled = true },