Skip to content

Fix zoekt language parsing and add more token coloring - #115

Merged
brendan-kellam merged 4 commits into
sourcebot-dev:mainfrom
KonradStanski:fix-zoekt-streamparser
Dec 9, 2024
Merged

brendan-kellam merged 4 commits into
sourcebot-dev:mainfrom
KonradStanski:fix-zoekt-streamparser

Conversation

@KonradStanski

@KonradStanski KonradStanski commented Dec 7, 2024 •

Copy link
Copy Markdown
Contributor

Added token coloring for operator and strings.
Also fixed the streamlanguage implementation so it would not highlight "or" at the end of strings.
fixes #83

Before:
Screenshot 2024-12-06 at 4 52 00 PM

After:
Screenshot 2024-12-06 at 4 51 18 PM
Screenshot 2024-12-06 at 4 46 19 PM

@brendan-kellam brendan-kellam left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM thanks!

@brendan-kellam
brendan-kellam merged commit d4e6410 into sourcebot-dev:main Dec 9, 2024
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.

Syntax highlighting is always highlighting "or", regardless of word boundaries

3 participants