Skip to content
Snippets Groups Projects
Closed Remove syntax highlighting for GraphQL, INI file, TOML, and Perforce
  • View options
  • Remove syntax highlighting for GraphQL, INI file, TOML, and Perforce

  • View options
  • Closed Issue created by Warren Gifford

    Created by: slimsag

    Why remove syntax highlighting for these languages?

    A review of syntect_servers' included syntax definitions found the syntaxes we include for four languages have questionable licenses:

    How we plan to add them back

    I fully recognize that losing syntax highlighting for these languages, particularly the first three, sucks.

    It is my hope that anyone will take up the task of writing a syntax definition for these languages - which could be quite fun and can be done completely independently of Sourcegraph either in TextMate or Sublime Text. Once one exists that has a standard license used in every other syntax definition out there (Apache, BSD, MIT, or the Common License used in TextMate grammars), then we can include it in syntect_server and Sourcegraph easily.

    To add syntax highlighting for one of these languages, you will need to write one of the following:

    There are many resources online for how to develop and test these right in Sublime or TextMate, and you can find many examples in the syntaxes we currently include in https://github.com/slimsag/Packages#license

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first