plugins: add zotcite and cmp-zotcite plugins
- Adds zotcite plugins (with completion). Co-Authored-by: iGor milhit <igor@milhit.ch>
parent
8799c947d1
commit
7a8d0c78c3
|
@ -0,0 +1,22 @@
|
||||||
|
-- Install and configure zotcite
|
||||||
|
-- https://github.com/jalvesaq/zotcite
|
||||||
|
|
||||||
|
return {
|
||||||
|
"jalvesaq/zotcite",
|
||||||
|
dependencies = {
|
||||||
|
"nvim-treesitter/nvim-treesitter",
|
||||||
|
},
|
||||||
|
config = function ()
|
||||||
|
require("zotcite").setup({
|
||||||
|
-- waiting for zotcite options
|
||||||
|
})
|
||||||
|
require("cmp_zotcite").setup({
|
||||||
|
filetypes = {
|
||||||
|
"pandoc",
|
||||||
|
"markdown",
|
||||||
|
"rmd",
|
||||||
|
"quarto",
|
||||||
|
}
|
||||||
|
})
|
||||||
|
end
|
||||||
|
}
|
|
@ -28,6 +28,9 @@ return {
|
||||||
"hrsh7th/cmp-emoji",
|
"hrsh7th/cmp-emoji",
|
||||||
-- vs-code pictrograms
|
-- vs-code pictrograms
|
||||||
"onsails/lspkind.nvim",
|
"onsails/lspkind.nvim",
|
||||||
|
|
||||||
|
-- Adds completion for zotcite
|
||||||
|
"jalvesaq/cmp-zotcite",
|
||||||
},
|
},
|
||||||
|
|
||||||
-- Configure nvim-cmp
|
-- Configure nvim-cmp
|
||||||
|
@ -107,6 +110,7 @@ return {
|
||||||
},
|
},
|
||||||
{ name = "path" },
|
{ name = "path" },
|
||||||
{ name = "emoji" },
|
{ name = "emoji" },
|
||||||
|
{ name = "cmp_zotcite"}
|
||||||
}),
|
}),
|
||||||
|
|
||||||
formatting = {
|
formatting = {
|
||||||
|
|
Loading…
Reference in New Issue