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.
8 lines
195 B
VimL
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
|
|
|