We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
root_dir
1 parent 5325af3 commit e6b34cdCopy full SHA for e6b34cd
lua/quarto/init.lua
@@ -49,7 +49,7 @@ function M.quartoPreview(opts)
49
50
if root_dir then
51
mode = 'project'
52
- cmd = 'quarto preview ' .. args
+ cmd = 'quarto preview ' .. vim.fn.shellescape(root_dir) .. ' ' .. args
53
else
54
mode = 'file'
55
cmd = 'quarto preview ' .. vim.fn.shellescape(buffer_path) .. ' ' .. args
0 commit comments