plugins: add zotcite and cmp-zotcite plugins

- Adds zotcite plugins (with completion).

Co-Authored-by: iGor milhit <igor@milhit.ch>
iGor milhit 2024-08-28 16:01:21 +02:00
parent cf209d6e52
commit 94c539be47
Signed by: igor
GPG Key ID: 692D97C3D0228A99
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,25 @@
-- Install and configure zotcite
-- https://github.com/jalvesaq/zotcite
return {
"jalvesaq/zotcite",
dependencies = {
"nvim-treesitter/nvim-treesitter",
-- Add completion for zotcite
"jalvesaq/cmp-zotcite",
},
config = function ()
require("zotcite").setup({
-- waiting for zotcite options
})
require("cmp_zotcite").setup({
-- Add the pandoc filetype
filetypes = {
"pandoc",
"markdown",
"rmd",
"quarto",
}
})
end
}

View File

@ -107,6 +107,7 @@ return {
}, },
{ name = "path" }, { name = "path" },
{ name = "emoji" }, { name = "emoji" },
{ name = "cmp_zotcite"} -- zotcite (plugins/markdown/zotcite.lua)
}), }),
formatting = { formatting = {