I’ve been learning a little Erlang in the last few weeks and sometimes I use my Macbook to write some small functions, libs and so on. But it seems that TextMate hasn’t build-in support for Erlang, so all my pretty code was just black :-(

But that isn’t that big a problem: I found a bundle for Erlang on github (man I love this site, makes finding those nice pieces of code even simpler) and added it. So you just have to do:


mkdir -p /Library/Application Support/TextMate/Bundles

then cd to this directory and clone the repo in there:


git clone https://github.com/textmate/erlang.tmbundle.git

Now when you restart TextMate and open a .erl file everything will be fine :)

Tagged with:
 

One Response to TextMate: syntax highlighting for Erlang

  1. Silvano says:

    Thank you Sir! :)

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>