Skip to content

citation (bib(la)tex) suggestion/completion disappears #2039

@atticus-sullivan

Description

@atticus-sullivan

Issue
When inserting \cite{, the available keys from the .bib are suggested. But when starting to type to narrow the keys, the completion menu vanishes.

This is a follow-up from https://vi.stackexchange.com/questions/31129/coc-vimtex-bib-completion-strange-suggstions/31130#31130, but I've messed up with the initial post (sorry @ lervag again).

minimal.nvim

call plug#begin('~/.config/nvim/plugged')
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'lervag/vimtex'
call plug#end()

minimal.tex

\documentclass{article}

\usepackage[backend=biber]{biblatex}
\addbibresource{testing.bib}

\begin{document}
\cite{k

\printbibliography
\end{document}

Observed Behaviour
Already described above. And see the demonstration:
Peek 2021-04-29 22-27

Expected Behaviour
I'd expect that the menu stays visible and filters the entries by the text inserted.

Output from VimtexInfo
Note: shortened the paths

System info
  OS: Linux 5.10.32-1-lts
  Vim version: NVIM v0.4.4
  Has clientserver: true
  Servername: /tmp/nvimARV5QS/0

VimTeX project: testing
  base: testing.tex
  root: testing_biblatex/mfe
  tex: mfe/testing.tex
  out: mfe/testing.pdf
  log: testing_biblatex/mfe/testing.log
  aux: testing_biblatex/mfe/testing.aux
  fls: testing_biblatex/mfe/testing.fls
  main parser: current file verified
  compiler: latexmk
    configuration: 
      continuous: 1
      callback: 1
      latexmk options:
        -verbose
        -file-line-error
        -synctex=1
        -interaction=nonstopmode
      latexmk engine: -pdf
  viewer: General
  qf: LaTeX logfile
    addqflist: 51
    fix_paths: 52
    set_errorformat: 50
  document class: article
  packages:
    biblatex
    etoolbox
    expl3
    iftex
    ifthen
    infwarerr
    keyval
    kvoptions
    kvsetkeys
    logreq
    ltxcmds
    pdftexcmds
    url
    xparse

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions