diff --git a/lua/plugins/markdown/zotcite.lua b/lua/plugins/markdown/zotcite.lua new file mode 100644 index 0000000..5dda59f --- /dev/null +++ b/lua/plugins/markdown/zotcite.lua @@ -0,0 +1,23 @@ +-- Install and configure zotcite +-- https://github.com/jalvesaq/zotcite + +return { + "jalvesaq/zotcite", + dependencies = { + "nvim-treesitter/nvim-treesitter", + "jalvesaq/cmp-zotcite", + }, + config = function () + require("zotcite").setup({ + -- waiting for zotcite options + }) + require("cmp_zotcite").setup({ + filetypes = { + "pandoc", + "markdown", + "rmd", + "quarto", + } + }) + end +} diff --git a/lua/plugins/nvim-cmp.lua b/lua/plugins/nvim-cmp.lua index 4ff16ce..54f0ead 100644 --- a/lua/plugins/nvim-cmp.lua +++ b/lua/plugins/nvim-cmp.lua @@ -107,6 +107,7 @@ return { }, { name = "path" }, { name = "emoji" }, + { name = "cmp_zotcite"} }), formatting = {