Summary
If the code block's closing backticks have trailing space, the injected syntax highlighting will apply to the text outside of the code block.
Reproduction Steps
Open a markdown buffer with the contents:
where the quotes are replaced with backticks.
I expected this to happen:
int i = 0; should be highlighted as markdown
Instead, this happened:
It is highlighted as C
Helix log
No response
Platform
Linux/macOS
Terminal Emulator
Kitty 0.30.1
Installation Method
Source
Helix Version
990378a
Summary
If the code block's closing backticks have trailing space, the injected syntax highlighting will apply to the text outside of the code block.
Reproduction Steps
Open a markdown buffer with the contents:
where the quotes are replaced with backticks.
I expected this to happen:
int i = 0;should be highlighted as markdownInstead, this happened:
It is highlighted as C
Helix log
No response
Platform
Linux/macOS
Terminal Emulator
Kitty 0.30.1
Installation Method
Source
Helix Version
990378a