fix(vim): ensure we don't get errors if we are on old ivy

This commit is contained in:
Ade Attwood 2024-12-30 13:03:41 +00:00
parent bbdcd42b27
commit 26ae32de82

View file

@ -10,7 +10,7 @@ require("ivy").setup {
"ivy.backends.lsp-workspace-symbols", "ivy.backends.lsp-workspace-symbols",
"ivy.backends.rg", "ivy.backends.rg",
}, },
mappings = vim.tbl_extend("force", config:get { "mappings" }, { mappings = vim.tbl_extend("force", config:get { "mappings" } or {}, {
["<C-M-n>"] = "next_checkpoint", ["<C-M-n>"] = "next_checkpoint",
["<C-M-p>"] = "previous_checkpoint", ["<C-M-p>"] = "previous_checkpoint",
}), }),