nvim: various-textobjs: Update configuration

useDefaultKeymaps is deprecated.
This commit is contained in:
Sanchayan Maity 2024-12-09 09:58:02 +05:30
parent fdb3fff250
commit 01915f0d50
Signed by: sanchayanmaity
GPG key ID: 6F6A0609C12038F3

View file

@ -1,4 +1,4 @@
require("various-textobjs").setup({ useDefaultKeymaps = false }) require("various-textobjs").setup({ keymaps = { useDefaults = false } })
vim.keymap.set({"o", "x"}, "ae", function () require("various-textobjs").entireBuffer() end) vim.keymap.set({"o", "x"}, "ae", function () require("various-textobjs").entireBuffer() end)
vim.keymap.set({"o", "x"}, "ii", function () require("various-textobjs").indentation(true, true) end) vim.keymap.set({"o", "x"}, "ii", function () require("various-textobjs").indentation(true, true) end)