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

fix(virtual indent): handle invalid buffer gracefully #825

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

seflue
Copy link
Contributor

@seflue seflue commented Nov 14, 2024

Avoid errors when refiling content with headlines and enabled virtual indentation.

Cause: Indentation is also implicitly calculated during refiling. In this case the buffer could already be invalid.

Avoid errors when refiling content with headlines and enabled virtual
indentation.

Cause: Indentation is also implicitly calculated during refiling. In
this case the buffer could already be invalid.
Copy link
Member

@kristijanhusak kristijanhusak left a comment

Choose a reason for hiding this comment

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

Thanks!

@kristijanhusak kristijanhusak merged commit 1d8c9b9 into nvim-orgmode:master Nov 15, 2024
6 of 7 checks passed
@seflue seflue deleted the fix/more_robust_refile branch November 15, 2024 09:24
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