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"
|
||||
"--quiet"
|
||||
"--no-browser"
|
||||
"--watch=%outputfile%"
|
||||
"--entry-file=%outputfile%"
|
||||
"--watch=/tmp/%outputfile%"
|
||||
"--entry-file=/tmp/%outputfile%"
|
||||
"--wait=800"
|
||||
"/tmp"
|
||||
]
|
||||
|
@ -103,7 +103,7 @@ in {
|
|||
-- HTML
|
||||
htmloutputext = 'html',
|
||||
htmltohtml = 'none',
|
||||
htmltohtmlviewerlaunch = "",
|
||||
htmltohtmlviewerlaunch = 'true',
|
||||
htmltohtmlviewerrefresh = 'none',
|
||||
|
||||
-- Markdown
|
||||
|
@ -127,7 +127,12 @@ in {
|
|||
markdowntohtmlviewerrefresh = 'none',
|
||||
|
||||
-- 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', {
|
||||
|
|
Loading…
Add table
Reference in a new issue