gitbutler icon indicating copy to clipboard operation
gitbutler copied to clipboard

Feature request: missing color highlighter for Swift

Open Adamekka opened this issue 1 year ago • 4 comments

I use gitbutler as a drop-in replacement for GitHub Desktop, it's amazing so far, but I miss the feature that the previews are colored gitbutler: image GitHub Desktop: image

Adamekka avatar Feb 14 '24 19:02 Adamekka

I've looked at the source of this app and you are missing color highlighter for Swift, so I'll rename this issue

Adamekka avatar Feb 14 '24 22:02 Adamekka

i believe we just need to add the entry here https://github.com/gitbutlerapp/gitbutler/blob/master/apps/desktop/src/lib/utils/codeHighlight.ts

krlvi avatar Aug 15 '24 13:08 krlvi

@ndom91 I believe you've touched this area of the code recently. Would it be possible to add all the syntax hilighters that are available?

Caleb-T-Owens avatar Aug 15 '24 13:08 Caleb-T-Owens

@ndom91 I believe you've touched this area of the code recently. Would it be possible to add all the syntax hilighters that are available?

Yup I can definitely look into this 👌

ndom91 avatar Aug 15 '24 14:08 ndom91