Skip to content
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

feat: refactor writing to buffer #260

Merged
merged 3 commits into from
Nov 27, 2023
Merged

feat: refactor writing to buffer #260

merged 3 commits into from
Nov 27, 2023

Conversation

Rasmus-Bertell
Copy link
Contributor

Makes writing to the buffer cleaner and easier to add more blocks.
This is pre work for #256 so that it's easier to add the statistics block into the output.

This shouldn't affect the output other than it removes the line #+END between the command and headers on subsequent requests if the buffer wasn't closed. It was leftover since the buffer wasn't cleared properly.

Copy link
Member

@NTBBloodbath NTBBloodbath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome, thank you so much. The codebase is much more readable now for my eyes and I hope it is for others too. Also fixed a small bug along the way so excellent :)

@NTBBloodbath NTBBloodbath merged commit d0377fd into rest-nvim:main Nov 27, 2023
2 checks passed
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.

2 participants