kaarmu/typst.vim

Feature: details about compiling errors

Closed this issue · 2 comments

In Vimtex, whenever the compiler raises an error (or a warning), a split window opens with details about it. It would be useful to have a similar tool in this plugin.

kaarmu commented

How are you compiling currently? With built-in :make and with tpope's vim-dispatch you can get this information. Maybe you're using :TypstWatch?

Yes, I was using :TypstWatch. Thanks for the advice: using vim-dispatch and running :Make shows me the errors; for this purpose, I added the following line to my vim config file:

autocmd BufRead *.typ set filetype=typst makeprg=typst\ watch\ %\ --open