Compare commits

..

2 Commits

Author SHA1 Message Date
iGor milhit a50b7b4b55
plugins: improve slightly the treesitter config
- Adds an empty module options to avoid warning.
- Indents the disabled language list, in order to add some easily.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-10-03 08:05:10 +02:00
iGor milhit fd295f92e4
plugins: add zotcite and cmp-zotcite plugins
- Adds zotcite plugins (with completion).

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

View File

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

View File

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