helix/helix-term
Michael Davis 3ceae88c3a
Use 'ui.text' as a base style for the syntax highlighter
This fixes a regression from the refactor of the highlighters when
switching to tree-house. The old `StyleIter` used `renderer.text_style`
as the base style rather than `Style::default()` for syntax highlights.
The result was that any text not captured by a syntax highlight query
was styled with no foreground or background, defaulting to the
terminal's foreground/background. This could cause text in markdown
files to look off-colored depending on your terminal configuration.
(Though you wouldn't notice if your 'ui.text' theming matches your
terminal's theming.)
2025-05-16 10:52:47 -04:00
..
src Use 'ui.text' as a base style for the syntax highlighter 2025-05-16 10:52:47 -04:00
tests syntax: Move config types to a separate module 2025-05-13 18:30:21 -04:00
.gitignore Initial import. 2020-05-20 18:14:51 +09:00
Cargo.toml build(deps): bump libc in the rust-dependencies group (#13389) 2025-04-22 15:10:48 +09:00
build.rs chore: clean up clippy lints (#11377) 2024-08-01 06:39:46 +09:00