You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\documentclass{article}
% This is the sample bib file\begin{filecontents}{demo.bib}
@book{Saussure1995,
Author = {Ferdinand de Saussure},
Origyear = {1916},
Publisher = {Payot},
Title = {Cours de Linguistique G{\'e}n{\'e}rale},
Year = {1995}}
\end{filecontents}
\usepackage{natbib,bibentry}
\bibliographystyle{apalike}
\begin{document}
\bibliography{demo}
This is a complete citation in the middle of the text:
\bibentry{Saussure1995}
\cite{
\end{document}
You have to compile this file once to generate the file demo.bib so that omni-completion can work (relies on the file specified in \bibliography{demo.bib}.
The issue:
After entering \cite{ the waiting time for the reference is a little bit too long. I suspect this is due to a slow vimtex-omnifunc. But I would have hoped, that there would be a caching to speed things up. However, things do not change when I want to enter a second citation. Does completor caches omni-completion results for the next invocation?
BTW, I do not like that you fix cot=menuone setting. I would prefer it if you would leave this to the user.
The text was updated successfully, but these errors were encountered:
I'd like to have omni-completion for references in a latex document. Vimtex provides results via an omnifunc (https://github.com/lervag/vimtex/blob/master/doc/vimtex.txt#L1487).
I have added following pattern to my vimrc based on lervag/vimtex#453 (comment):
First of all, this works.
You have to compile this file once to generate the file
demo.bib
so that omni-completion can work (relies on the file specified in\bibliography{demo.bib}
.The issue:
After entering
\cite{
the waiting time for the reference is a little bit too long. I suspect this is due to a slow vimtex-omnifunc. But I would have hoped, that there would be a caching to speed things up. However, things do not change when I want to enter a second citation. Does completor caches omni-completion results for the next invocation?BTW, I do not like that you fix
cot=menuone
setting. I would prefer it if you would leave this to the user.The text was updated successfully, but these errors were encountered: