sstephenson / eco

Embedded CoffeeScript templates
MIT License
1.71k stars 70 forks source link

Eco Syntax Highlighting #8

Closed jonmc12 closed 13 years ago

jonmc12 commented 13 years ago

What is the best way to get syntax highlighting for eco in my text editor? I use textmate

nikgraf commented 13 years ago

Yet I haven't found any textmate bundle, but if you are fine with vim you can use this one: https://github.com/jayferd/eco.vim

jonmc12 commented 13 years ago

I could not find a way to easily convert vim file to textmate bundle. However, janmonschke with the Brunch project had a better idea - use the rails syntax highlighter in textmate.

I just cloned my HTML (Rails) bundle and changes the files types as appropriate.

It might be helpful to include a file like this in the git repository so its more obvious.

balupton commented 13 years ago

SublimeText highlights it great.