plugins: add zotcite and cmp-zotcite plugins
- Adds zotcite plugins (with completion). Co-Authored-by: iGor milhit <igor@milhit.ch>
parent
8799c947d1
commit
fd295f92e4
|
@ -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
|
||||
}
|
|
@ -107,6 +107,7 @@ return {
|
|||
},
|
||||
{ name = "path" },
|
||||
{ name = "emoji" },
|
||||
{ name = "cmp_zotcite"} -- zotcite (plugins/markdown/zotcite.lua)
|
||||
}),
|
||||
|
||||
formatting = {
|
||||
|
|
Loading…
Reference in New Issue