Skip to content

Perform "context-free" syntax highlighting for large files #226

Description

@danvk

If you try to diff two 20 MB JSON files with just a few changes, git diff will happily do it. But the webdiff UI might choke because it does syntax highlighting on both full 20MB files before displaying the diff hunks. It would be better if it didn't try to do this, and instead ignored the bits outside the diff hunk for syntax highlighting because JSON syntax highlighting isn't particularly sensitive to context.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions