Skip to content

Add syntax highlighting support + default themes#3

Merged
trevor-e merged 3 commits intomainfrom
telkins/syntax-highlighting
Feb 18, 2026
Merged

Add syntax highlighting support + default themes#3
trevor-e merged 3 commits intomainfrom
telkins/syntax-highlighting

Conversation

@trevor-e
Copy link
Member

No description provided.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 4 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

'material-dark':['dark','prism-material-dark.min.css'],'gruvbox-dark':['dark','prism-gruvbox-dark.min.css'],
'vsc-dark':['dark','prism-vsc-dark-plus.min.css'],'one-light':['light','prism-one-light.min.css'],
'material-light':['light','prism-material-light.min.css'],'gruvbox-light':['light','prism-gruvbox-light.min.css']
};
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Theme configuration duplicated across two files

Low Severity

The complete theme list (keys, modes, and CSS filenames) is duplicated between the early-load inline script in layout.html and syntaxThemes in codesearch_ui.js. The "keep in sync" comments acknowledge the coupling, but any addition or change to themes requires updating both locations, which is error-prone and likely to drift over time.

Additional Locations (1)

Fix in Cursor Fix in Web

@trevor-e trevor-e merged commit 602b6d7 into main Feb 18, 2026
9 checks passed
@trevor-e trevor-e deleted the telkins/syntax-highlighting branch February 19, 2026 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant