dotfiles/nvim/.config/nvim/plugin/echodoc.vim
Marty Oehme e7ff8c9f78 Fix pandoc citation autocompletions
wiki.vim overwrites omnifunc for any buffer it sees as its own. Pandoc
uses g:pandoc#competion#Complete as its omnifunc to generate citations.

So we use deoplete to collect the citations and display them on being
invoked by `@`. When typing more, it filters the list accordingly.

Have not gotten preview window working again, nor searching of fields
other than bibkey.
2020-02-04 00:44:12 +01:00

8 lines
195 B
VimL

" PLUGIN: ECHODOC
let g:echodoc#type="virtual"
let g:echodoc_enable_at_startup=1
set splitbelow
set completeopt+=menuone,noinsert,noselect
set completeopt-=preview
autocmd CompleteDone * pclose