Compare commits

..

1 Commits

Author SHA1 Message Date
iGor milhit 7a8d0c78c3
plugins: add zotcite and cmp-zotcite plugins
- Adds zotcite plugins (with completion).

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-08-29 07:13:45 +02:00
3 changed files with 7 additions and 10 deletions

View File

@ -5,15 +5,12 @@ 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",

View File

@ -28,6 +28,9 @@ return {
"hrsh7th/cmp-emoji",
-- vs-code pictrograms
"onsails/lspkind.nvim",
-- Adds completion for zotcite
"jalvesaq/cmp-zotcite",
},
-- Configure nvim-cmp
@ -107,7 +110,7 @@ return {
},
{ name = "path" },
{ name = "emoji" },
{ name = "cmp_zotcite"} -- zotcite (plugins/markdown/zotcite.lua)
{ name = "cmp_zotcite"}
}),
formatting = {

View File

@ -45,9 +45,7 @@ return {
-- Enable color syntax
highlight = {
enable = true,
disable = {
"markdown"
},
disable = { "markdown" },
},
-- Enable better indentation management
indent = { enable = true },
@ -66,9 +64,6 @@ return {
"yaml",
},
-- Empty option, to avoid warning
modules = {},
-- List of parsers to ignore installing
ignore_install = {
"markdown",
@ -138,3 +133,5 @@ return {
})
end,
}