CoffeeScript.mode
CoffeeScript.mode copied to clipboard
Indent below function definition?
When I type in the following: foo = (bar) ->
and hit enter, the next line doesn't indent. Is that a bug or by design? Thanks, Matt
This is something I started looking into but at that point had spent too much time getting the coloring to work for Coda 2 that I didn't get around to it.
Unfortunately for this repo, I was super excited for Coda 2 and Coda 2 let me down (and gobbled up $50!). I've since tried some other editors and have switched to Sublime Text 2 which I would really recommend (especially since it supports the thousands of TextMate themes and syntax modes).
But if you want to give it a shot, I think the section you'll need to work on is https://github.com/caseywebdev/CoffeeScript.mode/blob/master/Contents/Resources/SyntaxDefinition.xml#L14
Thanks!
Sent from my iPad
On Jun 9, 2012, at 8:58 AM, Casey Foster [email protected] wrote:
This is something I started looking into but at that point had spent too much time getting the coloring to work for Coda 2 that I didn't get around to it.
Unfortunately for this repo, I was super excited for Coda 2 and Coda 2 let me down (and gobbled up $50!). I've since tried some other editors and have switched to Sublime Text 2 which I would really recommend (especially since it supports the thousands of TextMate themes and syntax modes).
But if you want to give it a shot, I think the section you'll need to work on is https://github.com/caseywebdev/CoffeeScript.mode/blob/master/Contents/Resources/SyntaxDefinition.xml#L14
Reply to this email directly or view it on GitHub: https://github.com/caseywebdev/CoffeeScript.mode/issues/1#issuecomment-6220996