Skip to content

QuartoPreview error - "attempt to index field 'config' (a nil value)" #57

Answered by jmbuhr
dr563105 asked this question in Q&A
Discussion options

You must be logged in to vote

In order to use all of quarto-nvims features you have to call quarto.setup (see https://github.com/quarto-dev/quarto-nvim#configure). Otherwise quarto.config is not set (

if M.config.closePreviewOnExit then
).
But as it turns out I already had a fix for this, I just forgot to push it (thanks for reminding me)! If you update now you can use quarto preview without configuring quarto. Though I still recommend to call setup.

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@jmbuhr
Comment options

@jmbuhr
Comment options

@dr563105
Comment options

@jmbuhr
Comment options

@jmbuhr
Comment options

Answer selected by dr563105
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants