aspeddro / cmp-pandoc.nvim

Pandoc source for nvim-cmp
MIT License
38 stars 9 forks source link

Add label sanity check to entry formatting #6

Closed marty-oehme closed 2 years ago

marty-oehme commented 2 years ago

Fixes #5.

Before returning a formatted entry check if the current entry options carry a label. If they don't they are probably not an entry that should be displayed since we don't know how to in the completion menu. Instead they are in all probability for example a metadata entry provided through JabRef.

aspeddro commented 2 years ago

Thanks!