GNOME Bugzilla – Bug 436528
Add Erlang language support to gtksourceview
Last modified: 2007-08-26 16:10:31 UTC
The following attachment is a syntax highlighting file for the language Erlang. It contains one known bug that I am unable to fix, it cannot highlight correctly $" or $' (see http://www.erlang.org/doc/doc-5.4.13/doc/reference_manual/data_types.html#2.2 for details). I have also submitted a bug report to freedesktop to add the mime type: https://bugs.freedesktop.org/show_bug.cgi?id=10878
Created attachment 87678 [details] erlang syntax highlighting file
Freedesktop has just fixed this: http://bugs.freedesktop.org/show_bug.cgi?id=10878
Sorry for not having replied sooner, but gtksourceview was a bit in flux. As of gtksourceview-1.90, the .lang format has changed. Can you update the language to the new format? By the way, to be inlcuded in gtksourceview the lang file has to be licensed under the LGPL.
I'll see what I can do to make a nice erlang.lang file, if noone beats me to it.
I created an erlang.lang in the new format and committed it. Seems to work fine with the test files I tried, but feedback is more than welcome.