jc-doyle / cmp-pandoc-references Goto Github PK
View Code? Open in Web Editor NEWA source for nvim-cmp, providing completion for bibliography, reference and cross-ref items in Pandoc/Markdown.
A source for nvim-cmp, providing completion for bibliography, reference and cross-ref items in Pandoc/Markdown.
Maybe we can use the algorithm of vim-pandoc for searching bib files. https://github.com/vim-pandoc/vim-pandoc/blob/0d4b68eb7f63e43f963a119d60a3e29c2bb822e0/python3/vim_pandoc/bib/collator.py#L18
This would make this plugin very versatile.
Hi @jc-doyle, great plugin.
Using relative path, completion not work. Apparently vim.fn.filereadable
return 0
.
├── inner
│ └── readme.md
└── refs.bib
readme.md
---
bibliography: ../refs.bib
---
[@]
It's work.
---
bibliography: refs.bib
---
[@]
Use planary.nvim to normalize path.
-- Add another filetype if needed
source.is_available = function()
return vim.o.filetype == 'pandoc' or vim.o.filetype == 'markdown' or vim.o.filetype == 'rmd' or vim.o.filetype == 'quarto'
end
This is a great plugin. I’ve been looking for just this thing to use with LaTeX. Unfortunately, though, I can’t use YAML headers with tex files, so I can’t use the plugin. Is there a way around this? Thanks a lot.
Is this still supposed to work / is it maintained?
Because it doesn't seem to work for me
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.