Skip to content

jmbuhr/cmp-pandoc-references

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cmp-pandoc-references

Based on https://github.com/jc-doyle/cmp-pandoc-referencesc. A source for nvim-cmp or blink.cmp. Provides completion for bibliography, reference and cross-ref items.

Demo

cmp-pandoc-references

Installation

Install with your favorite package manager from:

"jmbuhr/cmp-pandoc-references"

nvim-cmp

require('cmp').setup {
  sources = {
    { name = 'pandoc_references' }
  }
}

blink.cmp

-- ...
    references = {
        name = "pandoc_references",
        module = "cmp-pandoc-references.blink",
    },
-- ...

Explanation & Limitations

This source parses and validates the bibliography: <your/bib/location.bib> YAML metadata field, to determine the destination of the file (see Pandoc). If it is not included (or you specify it through a command-line argument), no bibliography completion items will be found.

About

A source for nvim-cmp, providing completion for bibliography, reference and cross-ref items in Pandoc/Markdown.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%