Page MenuHomePhabricator

How do I enable Swift Syntax Highlight in Differential, Audit and Diffusion
Closed, ResolvedPublic

Asked by shan199105 on Apr 7 2016, 3:52 AM.

Details

I saw select syntax highlight option in diffusion, but there is no swift option within the syntax highlight. I have enabled the pygment, I think the pygment support swift syntax. I just don't know how to setup to integrate with phabricator.

Thank you very much for all your time. Any help will be appreciated.

  • Jerry

Answers

avivey
Updated 2,934 Days Ago

Configure pygments.dropdown-choices (From configSyntax Highlighting), and customize the list. The code for Swift is probably swift.

New Answer

Answer

This question has been marked as closed, but you can still leave a new answer.