mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
22 lines
563 B
Lua
22 lines
563 B
Lua
return {
|
|
{
|
|
"jmbuhr/otter.nvim",
|
|
dependencies = {
|
|
"nvim-treesitter/nvim-treesitter",
|
|
},
|
|
opts = {},
|
|
config = function(opts)
|
|
local otter = require("otter")
|
|
local wk = require("which-key")
|
|
otter.setup(opts)
|
|
wk.add({
|
|
{
|
|
mode = "n",
|
|
{ "<leader>o", group = "otter", icon = "🦦" },
|
|
{ "<leader>oa", otter.activate, desc = "Activate otter", icon = "" },
|
|
{ "<leader>od", otter.deactivate, desc = "Deactivate otter", icon = " " },
|
|
},
|
|
})
|
|
end,
|
|
},
|
|
}
|