glance icon indicating copy to clipboard operation
glance copied to clipboard

Glance does not highlight .diff or .patch

Open posguy99 opened this issue 4 years ago • 1 comments

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 avatar Aug 08 '20 23:08 posguy99

+1

mrousavy avatar Oct 16 '20 09:10 mrousavy