-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disabling render on save in nvim #155
Comments
I just added two user commands in #157, QuartoPreviewNoWatch and QuartoUpdatePreview, the first starts the preview server without watching inputs (i.e. it doesn't re-render on save) and the second is for manually sending the re-render request to the server. Let me know if that works for you :) |
Plus #159 to detect |
Thank you very much, now Comment: for this option to be recognized, I need to close the buffer and open it again (not a big deal). |
This is unexpected, the header should be scanned every time |
I think this issue is not related to the update. After updating the plugin (I am using Lazy.nvim), I close nvim and open it again with the following file:
|
Right, you don't have to re-open the buffer, just close the quarto preview server and call |
|
OK, I understand. Tank you again!! |
Maybe the workflow would be more easy to understand the if you rename the command "QuartoUpdatePreview" to "QuartoParseAndPreview", "QuartoApplyHeadder" or something like that. |
QuartoUpdatePreview has nothing to do with the header, it just sends the command to re-render the preview. The header is only relevant for how the preview server is started. Maybe |
OK, thank you again |
I am very happy using quarto in nvim.
But I would like to disable automatic rendering of .qmd files when the document is saved, because rendering takes a lot of time for some of my documents.
I tried writing
in the header of the document. No success. Any idea?
The text was updated successfully, but these errors were encountered: