8000 Broken syntax highlighting with license header · Issue #1295 · sourcegit-scm/sourcegit · GitHub
[go: up one dir, main page]

Skip to content
Broken syntax highlighting with license header #1295
@lvde0

Description

@lvde0

Syntax highlighting fails in diff view when the license header is truncated (the comment ending is not included and it treats the whole code as a comment)

Image

The highlighting probably needs to take the entire document into account and only visually collapse the non relevant code.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0