Skip to content

Broken parsing of Rust multiline Attribute Macros #33915

Closed
@vpochapuis

Description

@vpochapuis

Description

Issue encountered

While doing PR reviews I stumbled upon this bug in the Files Changed tab:

Image

The Attribute Macro (in Rust) which is spread over 2 lines is having the second line string text not being displayed in the same color as the previous part of the same string.

Why would we like to fix it

It seems it would be intended to have the same color for the same string in that Attribute Macro.

In Zed editor:

Image

In VsCodium IDE:

Image

System Info

OS: Debian
Gitea version: 1.23.5

Thank you for your time reading this~

Gitea Version

1.23.5

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

Self-Hosted Debian based LXC using APT repository.

Database

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/needs-feedbackFor bugs, we need more details. For features, the feature must be described in more detail

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions