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',
|
||||
'--instance-name',
|
||||
'preview',
|
||||
'--reuse-window',
|
||||
'--forward-search-file',
|
||||
vim.fn.expand('%:p'),
|
||||
'--forward-search-line',
|
||||
|
|
@ -339,7 +340,6 @@ return {
|
|||
mermaid = true,
|
||||
latex = {
|
||||
open = { 'sioyek', '--instance-name', 'preview' },
|
||||
extra_args = { '-outdir=build' },
|
||||
output = function(ctx)
|
||||
return vim.fn.fnamemodify(ctx.file, ':h')
|
||||
.. '/build/'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue