Skip to content

Syntax highlighting seems entirely broken for Ada #8411

@liampwll

Description

@liampwll

What happened?

As seem in the below image, syntax highlighting is not correct or even self-consistent, looking at the two lines starting with -- Key: Input shaping it can be observed that one is correctly highlighted as a comment while the other has words highlighted for no apparent reason. Throughout all diffs, words are highlighted with no obvious pattern.

In addition to this, the selected colours are near-unreadable. These colours are not coming from my terminal colours and are selected by the application.

Image

What did you expect to happen?

Syntax should either not be highlighted or should be highlighted correctly. Colours should be readable.

Client information

Client Information

Run gemini to enter the interactive CLI, then run the /about command.

> /about
│ CLI Version           0.4.1                                     │
│ Git Commit            70ff7a36                                  │
│ Model                 gemini-2.5-pro                            │
│ Sandbox               no sandbox                                │
│ OS                    linux                                     │
│ Auth Method           OAuth                                     │

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stalepriority/p2Important but can be addressed in a future release.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions