Skip to content

[Bug]: Code highlighting working abnormally in 4.5.0 #5343

Closed
@RisaKirisu

Description

@RisaKirisu

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: Chrome, Samsung Internet
  • Local OS: Arch Linux, Android
  • Remote OS: Arch Linux
  • Remote Architecture: amd64
  • code-server --version: 4.5.0

Steps to Reproduce

  1. open code-server
  2. open a code file

Expected

Code highlighting should work.

Actual

It's not working as expected

Logs

No response

Screenshot/Video

In VS Code:
image

In code-server:
image

Does this issue happen in VS Code or GitHub Codespaces?

  • I cannot reproduce this in VS Code.
  • I cannot reproduce this in GitHub Codespaces.

Are you accessing code-server over HTTPS?

  • I am using HTTPS.

Notes

  • Color theme for VS code and code-server is the same in the screenshot.
  • Restarting and a clean reinstall didn't fix the problem.
  • Downgraded to 4.4.0 and everything works fine now.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageThis issue needs to be triaged by a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions