Skip to content

Fix highlight with code in ref preceding more code #389

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

Merged
merged 2 commits into from
Apr 17, 2025

Conversation

itsjunetime
Copy link
Contributor

Right now, inline code in refs in lists looks a bit weird, and inline code in refs where there is more inline code later on in the line also looks weird. This PR should fix both of those issues, and I didn't notice any regressions in the test files due to these changes.

Here's some pictures demonstrating the changes (ignore the conceal differences, I had the cursor on the line in one picture and off in the other)

before:
md_broken

after:
md_fixed

@itsjunetime
Copy link
Contributor Author

Just realized, this should fix #299

@alerque alerque merged commit 4dfb5bd into vim-pandoc:master Apr 17, 2025
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