Skip to content

V1.0.80 Code Formating for light themes does not correcly #4551

Closed

Description

@mariofranke

Description:
In light themes, the dot (.) in code blocks is white, so you can’t see it.
The dot between object and function() basically disappears.

Tested On:
• macOS (iTerm, WezTerm)
• Windows (Windows Terminal, Wezterm)

Same issue on all of them.

I was on 0.X before and had no issues.

Image

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 20, 2025
  2. kommander commented on Nov 20, 2025

    @kommander
    Contributor

    Probably needs some adjustments for the syntax highlight groups in the light themes.

  3. MonuCarpenter commented on Nov 23, 2025

    @MonuCarpenter

    it works fine for typescript but for cpp its worst, u can not see the code properly; in dark theme its fine

  4. fabOnReact commented on Dec 4, 2025

    @fabOnReact

    I have the same problem with .vim and .less files, below an example

    Image

    the text is all white which is not correct for light theme, this must be caused by your syntax highlighter (maybe bat or similar) that does not work with specific type of files

  5. MonuCarpenter commented on Dec 4, 2025

    @MonuCarpenter

    @fabOnReact it got fixed with the latest version, please update it

  6. fabOnReact commented on Dec 4, 2025

    @fabOnReact

    @MonuCarpenter I installed latest versione with homebrew and still have the issue. Thanks

    Image
  7. MonuCarpenter commented on Dec 4, 2025

    @MonuCarpenter

    @fabOnReact try ghostyy terminal

  8. fabOnReact commented on Dec 5, 2025

    @fabOnReact

    @MonuCarpenter I tried and I have the same problems

    Image
  9. kommander commented on Dec 5, 2025

    @kommander
    Contributor

    I tried to reproduce that on macos. This looks like it happens when there is no tree-sitter parser for the given filetype. But I cannot reproduce that in any terminal. I tried with all themes in light mode and the system theme when the os is set to light mode. The font color is dark and visible for me. Can anyone give me more details on how to reproduce that? Are you using custom themes?

  10. fabOnReact commented on Dec 5, 2025

    @fabOnReact

    no, just the normal theme from opencode. I know tree-sitter because I use it in neovim, but works without problems there. Seems like tree-sitter has parser for vim files, so maybe you are not installing that parser?

    Image
  11. kommander commented on Dec 5, 2025

    @kommander
    Contributor

    Can you try with bunx opencode-ai@snapshot-kmdr-debug?

  12. kommander commented on Dec 20, 2025

    @kommander
    Contributor

    These have been reportedly fixed in latest versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

help-wantedopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions