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

Syntax highlighting for {=language} ... code blocks #369

Merged
merged 1 commit into from
Mar 15, 2025

Conversation

user202729
Copy link
Contributor

Closes #367.

Simple modification of the current regex to detect ```{.language} ... ```.

@Konfekt
Copy link
Contributor

Konfekt commented Mar 15, 2025

@alerque Does this stand a chance to being merged some day? It's been bugging me for ages

@alerque
Copy link
Member

alerque commented Mar 15, 2025

@Konfekt I'm pretty sure the merge I did to resolve the conflict is now a regression. Can you do a PR review and suggest an edit that applies the changes from 72d9553 on top of the other changes that just came in? I'm happy to get this merged, it just fell off my radar and I don't have time to test the changes vs. regression of whatever else was changed here.

@user202729 user202729 force-pushed the patch-syntax-highlighting branch from 6cf1671 to 947655f Compare March 15, 2025 11:49
@user202729 user202729 marked this pull request as draft March 15, 2025 11:51
@user202729 user202729 marked this pull request as ready for review March 15, 2025 11:55
@user202729
Copy link
Contributor Author

Seems like it's working now.

That said do make sure :scriptname doesn't show the script is overridden with some version bundled in vim e.g. /usr/share/vim/vim91/syntax/pandoc.vim on my machine.

@alerque alerque merged commit 05ef7f4 into vim-pandoc:master Mar 15, 2025
1 check failed
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.

Correct syntax highlighting for inline LaTeX
3 participants