-
Notifications
You must be signed in to change notification settings - Fork 407
Startup Error "List or Blob required" #2188
Copy link
Copy link
Closed
Labels
Description
Description
When opening a LaTeX file in a project I get the following error:

After this it appears that VimTeX fails to load; expected commands like gf, \ll and others do not work, and :VimtexInfo returns "Not an editor command".
Steps to reproduce
Minimal test file:
vim.g.maplocallleader = '\\'
vim.cmd 'packadd packer.nvim'
return require('packer').startup(function(use)
use 'lervag/vimtex'
end)Minimal test tex file: (opening test.tex as a new file works fine. After writing this and invoking :e preamble.tex I get the error above.)
\documentclass{article}
\input{preamble}
\begin{document}
\input{content}
\end{document}Expected behavior
Vimtex to load
Actual behavior
Do you use a latexmkrc file?
No
VimtexInfo
This is what I get when running `:VimtexInfo` on the above file after saving it.
I also get a similar error to the one described above.
System info
OS: macOS 11.5.2 (20G95)
Vim version: NVIM v0.6.0-dev+368-g9337fff8a
Has clientserver: true
Servername: /var/folders/2y/hwll5x9j6271lr30klvck8f80000gn/T/nvimmPPTRh/0If I instead run :VimtexInfo on a completely blank TeX document I get
System info
OS: macOS 11.5.2 (20G95)
Vim version: NVIM v0.6.0-dev+368-g9337fff8a
Has clientserver: true
Servername: /var/folders/2y/hwll5x9j6271lr30klvck8f80000gn/T/nvimmPPTRh/0
VimTeX project: test2
base: test2.tex
root: /Users/rylee/.config/nvim
tex: /Users/rylee/.config/nvim/test2.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
Reactions are currently unavailable
