<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)">Here is a version that I adapted from the command in the align bundle for use with scala.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)">
It aligns on <=, =, ->, and <-</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default"><font color="#000000" face="verdana, sans-serif"><a href="https://gist.github.com/sellmerfud/7385988">https://gist.github.com/sellmerfud/7385988</a></font><br>
</div><div class="gmail_default"><font color="#000000" face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font color="#000000" face="verdana, sans-serif"><br></font></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)">
Note that I have not upgraded to Maverics yet.  If you have then the shebang line should be updated as mentioned by Tim.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Nov 9, 2013 at 4:12 AM, Tim Bates <span dir="ltr"><<a href="mailto:timothy.c.bates@gmail.com" target="_blank">timothy.c.bates@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">it needs an updated pulled.<br>
<br>
Either replace this line<br>
#!/usr/bin/env ruby -W0<br>
<br>
with this<br>
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -wKU<br>
<br>
or install the bundle from<br>
<br>
<a href="https://github.com/tbates/align.tmbundle" target="_blank">https://github.com/tbates/align.tmbundle</a><br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On 9 Nov 2013, at 09:10, Ross Ahmed <<a href="mailto:rossahmed@googlemail.com">rossahmed@googlemail.com</a>> wrote:<br>
<br>
> Hi all<br>
><br>
> I recently posted asking how to align code at <- . For example, I would want these two lines of code<br>
><br>
> foo <- test<br>
> fooFooFoo <- test<br>
><br>
> To look like<br>
><br>
> foo             <- test<br>
> fooFooFoo <- test<br>
><br>
> Somebody suggestted installing the align bundle and using the keyboard shortcut CMD + CONTROL + 9. I've trice this but unfortunately it doesn't run and throws a message box saying 'Failure running Align Source'.<br>

><br>
> Can anyone come up with a hacky way of aligning code at <- ?<br>
><br>
> Ross<br>
><br>
> _______________________________________________<br>
> textmate mailing list<br>
> <a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>
> <a href="http://lists.macromates.com/listinfo/textmate" target="_blank">http://lists.macromates.com/listinfo/textmate</a><br>
<br>
<br>
_______________________________________________<br>
textmate mailing list<br>
<a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>
<a href="http://lists.macromates.com/listinfo/textmate" target="_blank">http://lists.macromates.com/listinfo/textmate</a><br>
</div></div></blockquote></div><br></div>