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
The cmp-omni source is used to get suggestions provided by vimtex.
Ideally, after typing a \cite{ statement, the completion menu should appear with a list of possible bibliographical citations (provided, obviously, by vimtex).
Instead to get the completion menu to appear one has to type at least one character after the \cite{ statement, ie: \cite{a.
To make the completion menu appear without having to type at least one character I've added a keyword pattern to the source. I've used the one provided by vimtex for neocomplete ( vimtex doesn't provide one for cmp, but I think it should work the same):
FAQ
Announcement
Minimal reproducible full config
Description
The cmp-omni source is used to get suggestions provided by vimtex.
Ideally, after typing a
\cite{
statement, the completion menu should appear with a list of possible bibliographical citations (provided, obviously, by vimtex).Instead to get the completion menu to appear one has to type at least one character after the
\cite{
statement, ie:\cite{a
.To make the completion menu appear without having to type at least one character I've added a keyword pattern to the source. I've used the one provided by vimtex for neocomplete ( vimtex doesn't provide one for cmp, but I think it should work the same):
Steps to reproduce
test.bib
test.tex
nvim -u vimrc.vim test.tex
\cite{
lineExpected behavior
After a
\cite{
statement, the completion menu should appear suggesting the possible bibliographical citations.Actual behavior
After positioning at the end of the
\cite{
line the completion menu doesn't appear. Typing a letter results in a bunch of errors.Additional context
No response
The text was updated successfully, but these errors were encountered: