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

Bug: indented code blocks have a bad interaction with indent-blanklines #85

Open
chrisgrieser opened this issue Jun 6, 2024 · 0 comments

Comments

@chrisgrieser
Copy link

chrisgrieser commented Jun 6, 2024

edit: There was a lengthy post here, that's mostly irrelevant, since I could reproduce the issue in a markdown file.

When there are indented code blocks, there seems to be a weird interaction with indent-blanklines. Every time the window is scrolled, the indents briefly disappear.

Pasted.image.2024-06-07.at.02.25.28.mp4

The issue is more visible when using headlines to add background to a filetype with more indents. For instance, I added the codeblock-style background to the run field of GitHub action yaml files, and the issue is very noticable there:

Pasted.image.2024-06-07.at.00.00.53.mp4

(originally, I wanted to make a PR to add the yaml query, which is when I noticed this problem.)

@chrisgrieser chrisgrieser changed the title Showcase yaml injections / weird interaction with indent-blank line Bug: indented code blocks have a bad interaction with indent-blanklines Jun 7, 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

No branches or pull requests

1 participant