fix(nvim): simplify preview.nvim config
This commit is contained in:
parent
fa74ee199e
commit
6422a2fe6f
1 changed files with 1 additions and 1 deletions
|
|
@ -323,6 +323,7 @@ return {
|
||||||
'sioyek',
|
'sioyek',
|
||||||
'--instance-name',
|
'--instance-name',
|
||||||
'preview',
|
'preview',
|
||||||
|
'--reuse-window',
|
||||||
'--forward-search-file',
|
'--forward-search-file',
|
||||||
vim.fn.expand('%:p'),
|
vim.fn.expand('%:p'),
|
||||||
'--forward-search-line',
|
'--forward-search-line',
|
||||||
|
|
@ -339,7 +340,6 @@ return {
|
||||||
mermaid = true,
|
mermaid = true,
|
||||||
latex = {
|
latex = {
|
||||||
open = { 'sioyek', '--instance-name', 'preview' },
|
open = { 'sioyek', '--instance-name', 'preview' },
|
||||||
extra_args = { '-outdir=build' },
|
|
||||||
output = function(ctx)
|
output = function(ctx)
|
||||||
return vim.fn.fnamemodify(ctx.file, ':h')
|
return vim.fn.fnamemodify(ctx.file, ':h')
|
||||||
.. '/build/'
|
.. '/build/'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue