mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
don't specify keymaps and provide more usercommands in the plugins
instead
This commit is contained in:
parent
bee5467a73
commit
d29235311e
2 changed files with 5 additions and 24 deletions
|
|
@ -6,16 +6,10 @@ return {
|
|||
"nvim-treesitter/nvim-treesitter",
|
||||
},
|
||||
opts = {},
|
||||
config = function(opts)
|
||||
local quarto = require("quarto")
|
||||
local wk = require("which-key")
|
||||
quarto.setup(opts)
|
||||
wk.add({
|
||||
{
|
||||
mode = "n",
|
||||
{ "<leader>qp", quarto.quartoPreview, desc = "quarto preview", icon = "" },
|
||||
},
|
||||
})
|
||||
end,
|
||||
},
|
||||
recommended = function()
|
||||
return LazyVim.extras.wants({
|
||||
ft = "quarto",
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,18 +5,5 @@ return {
|
|||
"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,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue