GNOME Bugzilla – Bug 684200
YAML syntax file
Last modified: 2014-02-05 15:12:34 UTC
There is a yaml syntax file floating in the net, would be nice if this could be kept upstream https://code.google.com/p/masood/source/browse/#svn%2Ftrunk%2Fyaml-language-spec
The upstream syntax file is GPLv3+, gtksourceview is lgplv2+, thus the author needs to re or dual license the syntax file.
Created attachment 224635 [details] [review] Language file for YAML Masood, the author of the syntax file, agreed to change the license. Thanks again Masood. The following patch adds the language file.
As I was telling Fabian on irc, we are now string frozen so this will have to wait a bit. Thanks for relicensing though
Created attachment 224636 [details] [review] Updated patch
Any news on this?
note from nacho: classes for spelling are missing. see i.e https://git.gnome.org/browse/gtksourceview/tree/data/language-specs/c.lang#n303
Hey, news on this?
I'd love to see this land. Can I help in any way?
The comment pointed out by Nacho about addding the classes to denote whether a context should be spell checked or not are still valid. If that gets fixed feel free to push to master
I have added classes for spelling. Updated source is available from https://github.com/dentcat/gtksourceview-yaml
Thanks, Masood! I updated Fabian's patch with Masood's latest version and pushed to master.
It would be nice to push this to the 3.10 branch too, but I assume that's not possible since this new syntax file contains translatable strings (it's in POTFILES.in). Is that correct?
yup, that's correct