Download this language definition file for Erlang. (Written by Martin Ankerl) This will support to Gnome standard editor Gedit.
As I'm a Ubuntu user this will explain how to configure the language highlighting component only to Gnome's Gedit tool..... :) :D [Btw there are many tools and tips for windows users always ;) ]