Skip to content

Git diffs use different syntax highlighting #4062

@timsneath

Description

@timsneath

Curious -- is there a reason why git diffs show different syntax coloring between the 'before' and the 'after'?

image

It looks as if the left side is using simple TextMate syntax highlighting, given that the double is highlighted as a reserved word.

Is that by design (or a limitation of VSCode)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    in editorRelates to code editing or language featuresis enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions