Skip to content
This repository has been archived by the owner on Nov 13, 2020. It is now read-only.

Glance does not highlight .diff or .patch #49

Open
posguy99 opened this issue Aug 8, 2020 · 1 comment
Open

Glance does not highlight .diff or .patch #49

posguy99 opened this issue Aug 8, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@posguy99
Copy link

posguy99 commented Aug 8, 2020

Glance does preview both of them. They're both registered with the system with a UTI of "public.patch-file". But it does not highlight them.

Chroma knows what a diff is, and will highlight it. Pasting the same file into the Chroma playground produces a highlighted file.

Environment

Glance 1.2.0 from the MAS
Catalina 10.15.6

Bug Information

  • What are you trying to do?
    Preview .patch and .diff files.

  • What's the expected behavior?
    Previews are displayed with syntax highlighting.

  • What's the actual behavior?
    Previews are displayed without syntax highlighting.

@posguy99 posguy99 added the bug Something isn't working label Aug 8, 2020
@mrousavy
Copy link

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants