feat(nvim): stop knap from polluting workspace
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
06f62b8b38
commit
2e5c0e66e8
1 changed files with 9 additions and 4 deletions
|
@ -90,8 +90,8 @@ in {
|
||||||
"--port=6565"
|
"--port=6565"
|
||||||
"--quiet"
|
"--quiet"
|
||||||
"--no-browser"
|
"--no-browser"
|
||||||
"--watch=%outputfile%"
|
"--watch=/tmp/%outputfile%"
|
||||||
"--entry-file=%outputfile%"
|
"--entry-file=/tmp/%outputfile%"
|
||||||
"--wait=800"
|
"--wait=800"
|
||||||
"/tmp"
|
"/tmp"
|
||||||
]
|
]
|
||||||
|
@ -103,7 +103,7 @@ in {
|
||||||
-- HTML
|
-- HTML
|
||||||
htmloutputext = 'html',
|
htmloutputext = 'html',
|
||||||
htmltohtml = 'none',
|
htmltohtml = 'none',
|
||||||
htmltohtmlviewerlaunch = "",
|
htmltohtmlviewerlaunch = 'true',
|
||||||
htmltohtmlviewerrefresh = 'none',
|
htmltohtmlviewerrefresh = 'none',
|
||||||
|
|
||||||
-- Markdown
|
-- Markdown
|
||||||
|
@ -127,7 +127,12 @@ in {
|
||||||
markdowntohtmlviewerrefresh = 'none',
|
markdowntohtmlviewerrefresh = 'none',
|
||||||
|
|
||||||
-- LaTeX
|
-- LaTeX
|
||||||
-- TODO: stop from polluting workspace
|
texoutputext = 'pdf',
|
||||||
|
textopdf = 'cp -rf %docroot% /tmp/%docroot%; pdflatex -interaction=batchmode -halt-on-error -synctex=1 /tmp/%docroot%',
|
||||||
|
textopdfviewerlaunch = 'sioyek --inverse-search \'nvim --headless -es --cmd "lua require(\'"\'"\'knaphelper\'"\'"\').relayjump(\'"\'"\'%servername%\'"\'"\',\'"\'"\'%1\'"\'"\',%2,%3)"\' --new-window /tmp/%outputfile%',
|
||||||
|
textopdfviewerrefresh = 'none',
|
||||||
|
textopdfforwardjump = 'sioyek --inverse-search \'nvim --headless -es --cmd "lua require(\'"\'"\'knaphelper\'"\'"\').relayjump(\'"\'"\'%servername%\'"\'"\',\'"\'"\'%1\'"\'"\',%2,%3)"\' --reuse-window --forward-search-file %srcfile% --forward-search-line %line% /tmp/%docroot%/%outputfile%',
|
||||||
|
textopdfshorterror = 'A=/tmp/%outputfile% ; LOGFILE="''${A%.pdf}.log" ; rubber-info "$LOGFILE" 2>&1 | head -n 1',
|
||||||
};
|
};
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd('BufUnload', {
|
vim.api.nvim_create_autocmd('BufUnload', {
|
||||||
|
|
Loading…
Add table
Reference in a new issue