NOTE: cmp-zotcite is obsolete because zotcite now includes a built-in LSP server.
Zotero completion source for nvim-cmp using zotcite as backend.
Use a plugin manager such as vim-plug or packer.
Register the source for nvim-cmp:
require'cmp'.setup {
sources = {
{ name = 'cmp_zotcite' },
}
}The source is enabled for markdown, rmd, typst, and quarto file types by
default, but you can change this:
require'cmp_zotcite'.setup({
filetypes = {"pandoc", "markdown", "rmd", "quarto"}
})