An open API service indexing awesome lists of open source software.

https://github.com/jalvesaq/cmp-zotcite

Zotero completion source for nvim-cmp using zotcite as backend.
https://github.com/jalvesaq/cmp-zotcite

nvim-cmp zotero

Last synced: 8 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# cmp-zotcite

**NOTE**: `cmp-zotcite` is obsolete because `zotcite` now includes a built-in LSP server.

Zotero completion source for [nvim-cmp](https://github.com/hrsh7th/nvim-cmp) using [zotcite](https://github.com/jalvesaq/zotcite) as backend.

## Installation

Use a plugin manager such as [vim-plug](https://github.com/junegunn/vim-plug)
or [packer](https://github.com/wbthomason/packer.nvim).

## Setup

Register the source for `nvim-cmp`:

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

## Configuration

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

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