1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2026-04-06 23:44:47 +02:00

Nvim: Fixed bug in live-tex-rendering

This commit is contained in:
2026-04-06 05:31:16 +02:00
parent a87272d079
commit 352b695c08

View File

@@ -29,7 +29,7 @@ return {
vim.g.knap_settings = { vim.g.knap_settings = {
delay = 100, delay = 100,
texoutputext = "pdf", texoutputext = "pdf",
textopdf = "xelatex -synctex=1 -interaction=batchmode %docroot%", textopdf = "pdflatex -synctex=1 -interaction=batchmode %docroot%",
textopdfviewerlaunch = "zathura --synctex-editor-command 'nvim --headless -es --cmd \"lua require('\"'\"'knaphelper'\"'\"').relayjump('\"'\"'%servername%'\"'\"','\"'\"'%{input}'\"'\"',%{line},0)\"' ./%outputfile%", textopdfviewerlaunch = "zathura --synctex-editor-command 'nvim --headless -es --cmd \"lua require('\"'\"'knaphelper'\"'\"').relayjump('\"'\"'%servername%'\"'\"','\"'\"'%{input}'\"'\"',%{line},0)\"' ./%outputfile%",
textopdfviewerrefresh = "reload", textopdfviewerrefresh = "reload",
textopdfforwardjump = "zathura --synctex-forward=%line%:%column%:%srcfile% %outputfile%", textopdfforwardjump = "zathura --synctex-forward=%line%:%column%:%srcfile% %outputfile%",