Skip to content

Bad syntax highlighting for c++ includes #49024

@niekdomi

Description

@niekdomi

Reproduction steps

not required ig

Current vs. Expected behavior

Current behavior (0.224.0):

Image

Expected, as in previous versions, e.g., 0.222.4

Image

note this happens, regardless of the semantic_tokens setting

Zed version and system specs

see above

Attach Zed log file

Zed.log

Relevant Zed settings

settings.json

Relevant Keymap

keymap.json

(for AI issues) Model provider details

No response

If you are using WSL on Windows, what flavor of Linux are you using?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:languages/c++C++ programming language supportarea:tree-sitterSyntax highlighting and tree-sitterfrequency:alwaysBug that happens for everyone on every platform no matter how they use Zedpriority:P2Average run-of-the-mill bugs

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions