Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E714: List required with omnifunc #2189

Closed
ghost opened this issue Oct 2, 2021 · 4 comments
Closed

E714: List required with omnifunc #2189

ghost opened this issue Oct 2, 2021 · 4 comments
Labels

Comments

@ghost
Copy link

ghost commented Oct 2, 2021

Description

I get the following error on omnicompletion

Error detected while processing function vimtex#complete#omnifunc[30]..141[1]..142[4]..<SNR>72_load_from_package[18]..vimtex#kpsewhich#find:
line   10:
E714: List required

Information:

NVIM v0.5.1
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/bin/cc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -O2 -DNDEBUG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/build/neovim/src/neovim-0.5.1/build/config -I/build/neovim/src/neovim-0.5.1/src -I/usr/include -I/build/neovim/src/neovim-0.5.1/build/src/nvim/auto -I/build/neovim/src/neovim-0.5.1/build/include
Compiled by builduser

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

Run :checkhealth for more info

Steps to reproduce

Minimal vimrc:

filetype indent plugin on
syntax on

call plug#begin('~/.local/share/nvim/plugged')
Plug 'lervag/vimtex'
call plug#end()

Steps to reproduce:

  • Open a new tex file
  • Write $\al$, with cursor after l try omnicomplete using C-X, C-O, the error appears

Expected behavior

No response

Actual behavior

No response

Do you use a latexmkrc file?

Irrelevant?

VimtexInfo

System info
  OS: Linux 5.14.5-arch1-1
  Vim version: NVIM v0.5.1
  Has clientserver: true
  Servername: /tmp/nvimdGjMao/0

VimTeX project: a
  base: a.tex
  root: /home/oponkork
  tex: /home/oponkork/a.tex
  main parser: current file
  document class: 
  compiler: latexmk
    engine: -pdf
    options:
      -verbose
      -file-line-error
      -synctex=1
      -interaction=nonstopmode
    callback: 1
    continuous: 1
    executable: latexmk
  viewer: General
  qf method: LaTeX logfile
@ghost ghost added the bug label Oct 2, 2021
@clason
Copy link
Contributor

clason commented Oct 2, 2021

I suspect that this is the same root issue as #2188 -- can you try :VimtexCacheClear kpsewhich with the latest VimTeX commit?

@ghost
Copy link
Author

ghost commented Oct 2, 2021

@clason the error goes away. However the available command is :VimtexClearCache.

@clason
Copy link
Contributor

clason commented Oct 2, 2021

Oops, sorry! Should have copy&pasted the whole command ;)

@ghost ghost closed this as completed Oct 2, 2021
@lervag
Copy link
Owner

lervag commented Oct 2, 2021

I'll update the error handling so it also captures this error.

lervag added a commit that referenced this issue Oct 2, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants