update(nvim): modify typst-preview settings
(use external tinymist, enable debug)
This commit is contained in:
parent
0e68dd3650
commit
bc623a70d9
1 changed files with 5 additions and 4 deletions
|
@ -282,8 +282,9 @@ require('lazy').setup({
|
||||||
end,
|
end,
|
||||||
config = function()
|
config = function()
|
||||||
require 'typst-preview'.setup {
|
require 'typst-preview'.setup {
|
||||||
-- Setting this true will enable printing debug information with print()
|
-- Setting this true will enable logging debug information to
|
||||||
debug = false,
|
-- `vim.fn.stdpath 'data' .. '/typst-preview/log.txt'`
|
||||||
|
debug = true,
|
||||||
|
|
||||||
-- Custom format string to open the output link provided with %s
|
-- Custom format string to open the output link provided with %s
|
||||||
-- Example: open_cmd = 'firefox %s -P typst-preview --class typst-preview'
|
-- Example: open_cmd = 'firefox %s -P typst-preview --class typst-preview'
|
||||||
|
@ -305,8 +306,8 @@ require('lazy').setup({
|
||||||
-- Warning: Be aware that your version might be older than the one
|
-- Warning: Be aware that your version might be older than the one
|
||||||
-- required.
|
-- required.
|
||||||
dependencies_bin = {
|
dependencies_bin = {
|
||||||
['tinymist'] = nil,
|
['tinymist'] = 'tinymist',
|
||||||
['websocat'] = nil
|
['websocat'] = nil,
|
||||||
},
|
},
|
||||||
|
|
||||||
-- A list of extra arguments (or nil) to be passed to previewer.
|
-- A list of extra arguments (or nil) to be passed to previewer.
|
||||||
|
|
Loading…
Add table
Reference in a new issue