Ecosyste.ms: Awesome
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: 6 days 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 (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-16T03:01:15.000Z (8 months ago)
- Last Synced: 2024-03-16T04:19:08.209Z (8 months ago)
- Topics: nvim-cmp, zotero
- Language: Lua
- Homepage:
- Size: 20.5 KB
- Stars: 12
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
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)
- awesome-zotero - cmp-zotcite - Zotero completion source for nvim-cmp using zotcite as backend. (Extensions / Productivity)
README
# cmp-zotcite
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` and `quarto` file types by
default, but you can change this:```lua
require'cmp_zotcite'.setup({
filetypes = {"pandoc", "markdown", "rmd", "quarto"}
})
```