Compare commits

..

2 Commits

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

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-08-28 16:01:21 +02:00
iGor milhit ed73a26644
core: add a python provider configuration
Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-08-28 16:01:12 +02:00
4 changed files with 29 additions and 0 deletions

View File

@ -1,3 +1,4 @@
-- Load all module files -- Load all module files
require("core.python-provider")
require("core.keymaps") require("core.keymaps")
require("core.options") require("core.options")

View File

@ -0,0 +1,4 @@
-- Set a virtualenv as python provider
-- https://neovim.io/doc/user/provider.html#python-virtualenv
vim.g.python3_host_prog = "/home/igor/.pyenv/versions/py-nvim3.10/bin/python"

View File

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

View File

@ -107,6 +107,7 @@ return {
}, },
{ name = "path" }, { name = "path" },
{ name = "emoji" }, { name = "emoji" },
{ name = "cmp_zotcite"}
}), }),
formatting = { formatting = {