/cmp-zotcite

Zotero completion source for nvim-cmp using zotcite as backend.

Primary LanguageLuaGNU General Public License v3.0GPL-3.0

cmp-zotcite

Zotero completion source for nvim-cmp using zotcite as backend.

Installation

Use a plugin manager such as vim-plug or packer.

Setup

Register the source for nvim-cmp:

require'cmp'.setup {
  sources = {
    { name = 'cmp_zotcite' },
  }
}

Configuration

The source is enabled for markdown, rmd and quarto file types by default, but you can change this:

require'cmp_zotcite'.setup({
    filetypes = {"pandoc", "markdown", "rmd", "quarto"}
})