Menu

#109 Go language syntax file

v3.8
closed-fixed
Feature (36)
5
2021-10-25
2012-09-23
No

Syntax highlighting file for Google's Go language (http://golang.org/).

Discussion

  • Matthias S. Benkmann

    Syntax highlighting file for Google's Go language (http://golang.org/).

     
  • John J. Jordan

    John J. Jordan - 2014-11-03

    License: http://creativecommons.org/licenses/by/3.0/deed.en_US

    I'd like to integrate this, but I'm unsure of licensing compatibility (with GPL/2) and what more would be required of us for redistribution, so I'm going to let jhallen figure this one out.

     
  • John J. Jordan

    John J. Jordan - 2014-11-03
    • assigned_to: Joe Allen
    • Group: --> CVS
     
  • Matthias S. Benkmann

    First, the licenses are compatible. Second, you're not linking the file with GPL source code, only distributing it alongside, so it doesn't matter anyway. Third, I'm the author of the file and you have my express permission to include it.
    BTW, here's an updated version.

     
  • John J. Jordan

    John J. Jordan - 2014-11-04

    Thanks, Matthias. Is there anything special about the ftyperc entry (text_delimiters cpara, etc)?

     
  • Matthias S. Benkmann

    I'm just using

    *.go
    -autoindent
    -syntax go

     
  • John J. Jordan

    John J. Jordan - 2014-11-07
    • status: open --> closed-fixed
    • assigned_to: Joe Allen --> John J. Jordan
    • Group: CVS --> v3.8
     
  • John J. Jordan

    John J. Jordan - 2014-11-07

    Fixed with [b736b6]. I changed some of the colors around for consistency with other schemes and to work out of the box with white backgrounds and 16 color terminals in [ebe6d2]. Please let me know if you have any concerns. Thanks!

     

    Related

    Commit: [b736b6]
    Commit: [ebe6d2]

  • Todd M. Lewis

    Todd M. Lewis - 2021-10-25

    golang allows underscores in numeric constants, and imaginary numbers. I've attached an updated go.jsf that takes most of that into account if you're interested.

     

Log in to post a comment.