diff --git a/lua/lazyvim/plugins/extras/lang/quarto.lua b/lua/lazyvim/plugins/extras/lang/quarto.lua new file mode 100644 index 00000000..1ef57382 --- /dev/null +++ b/lua/lazyvim/plugins/extras/lang/quarto.lua @@ -0,0 +1,21 @@ +return { + { + "quarto-dev/quarto-nvim", + dependencies = { + "jmbuhr/otter.nvim", + "nvim-treesitter/nvim-treesitter", + }, + opts = {}, + config = function(opts) + local quarto = require("quarto") + local wk = require("which-key") + quarto.setup(opts) + wk.add({ + { + mode = "n", + { "qp", quarto.quartoPreview, desc = "quarto preview", icon = "" }, + }, + }) + end, + }, +} diff --git a/lua/lazyvim/plugins/extras/lsp/otter.lua b/lua/lazyvim/plugins/extras/lsp/otter.lua new file mode 100644 index 00000000..1208f4c3 --- /dev/null +++ b/lua/lazyvim/plugins/extras/lsp/otter.lua @@ -0,0 +1,22 @@ +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", + { "o", group = "otter", icon = "🦦" }, + { "oa", otter.activate, desc = "Activate otter", icon = "" }, + { "od", otter.deactivate, desc = "Deactivate otter", icon = "󰒲 " }, + }, + }) + end, + }, +}