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.
- Host: GitHub
- URL: https://github.com/jalvesaq/cmp-zotcite
- Owner: jalvesaq
- License: gpl-3.0
- Created: 2022-11-25T16:54:41.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-27T19:08:25.000Z (over 1 year ago)
- Last Synced: 2025-01-27T20:24:30.792Z (over 1 year ago)
- Topics: nvim-cmp, zotero
- Language: Lua
- Homepage:
- Size: 21.5 KB
- Stars: 23
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-zotero - cmp-zotcite - - Zotero completion source for nvim-cmp using zotcite as backend. (Extensions / Productivity)
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"}
})
```