Skip to content

Conversation

@winter-again
Copy link
Contributor

Fixes #34. This appears to be a Windows/PowerShell-specific issue so I try to contain this to just Windows. I change how file paths passed to quartoPreview() are handled to resolve the issue while still accounting for spaces in the file path. Let me know what you think.

Fix Windows-specific execution of preview command to properly handle for
file paths with spaces. Also surround the path with quotes.
@jmbuhr jmbuhr changed the title Fix quarto preview error in Windows/PowerShell fix: quarto preview in Windows/PowerShell Apr 20, 2023
@jmbuhr
Copy link
Collaborator

jmbuhr commented Apr 20, 2023

Thanks, that's a great addition!

@jmbuhr jmbuhr merged commit 8980f73 into quarto-dev:main Apr 20, 2023
@winter-again winter-again deleted the fix-preview-windows branch April 20, 2023 13:04
@winter-again
Copy link
Contributor Author

@jmbuhr Happy to help. Thanks for developing this plugin!

bkp5190 pushed a commit to bkp5190/quarto-nvim that referenced this pull request Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows error for Quarto Preview

2 participants