Skip to content

feat(settings): add setting to disable html highlighting#188

Open
zenwork wants to merge 2 commits intomainfrom
69-disableenable-html-highlighting-setting
Open

feat(settings): add setting to disable html highlighting#188
zenwork wants to merge 2 commits intomainfrom
69-disableenable-html-highlighting-setting

Conversation

@zenwork
Copy link
Copy Markdown
Contributor

@zenwork zenwork commented Jan 3, 2026

Description

Add setting to disable HTML highlighting, since Vento does not strictly have to generate HTML

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • Any dependent changes have been merged and published in downstream modules

@zenwork zenwork linked an issue Jan 3, 2026 that may be closed by this pull request
@zenwork zenwork self-assigned this Jan 3, 2026
@zenwork zenwork changed the title feat(settings): disable html highlighting feat(settings): add setting to disable html highlighting Jan 3, 2026
- Introduced a `Enable HTML highlighting` setting to control syntax highlighting for HTML outside Vento blocks.
- Updated `Settings` and `SettingsConfigurable` to support the new feature.
- Modified language/file type detection logic to respect the HTML highlighting setting.
- Updated tests and Parser TestCases to accommodate setting changes and added new tests to validate behavior.
- Introduced a new `HtmlHighlightToggleTest` to ensure functionality is consistent.
- Reformatted multiline assertions in `HtmlHighlightToggleTest.kt` to improve clarity and reduce code clutter.
- Fixed whitespace inconsistencies in `ParsingTestCase.kt` and other test files for better formatting.
- Adjusted line breaks for improved readability and adherence to standard coding style.
@zenwork zenwork force-pushed the 69-disableenable-html-highlighting-setting branch from f918ab2 to 9f1d70a Compare January 17, 2026 22:52
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.

Disable/enable HTML highlighting setting

1 participant