<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><div id="bloop_customfont" style="margin: 0px;">I’ve not done this, but I know the pain.</div><div id="bloop_customfont" style="margin: 0px;"><br></div><div id="bloop_customfont" style="margin: 0px;">You say specifically that you want a first line rule, but perhaps setting something like this in your .tm_properties file(s) would suffice?</div><div id="bloop_customfont" style="margin: 0px;"><br></div><div id="bloop_customfont" style="margin: 0px;"><br></div><div id="bloop_customfont" style="margin: 0px;"><i style="white-space: pre-wrap; widows: 1;">     [ *.rb~*_spec.rb ]</i></div><div id="bloop_customfont" style="margin: 0px;"><i style="white-space: pre-wrap; widows: 1;">    fileType = source.ruby.rails</i></div><div id="bloop_customfont" style="margin: 0px;"><br></div><div id="bloop_customfont" style="margin: 0px;">From: <a href="http://lists.macromates.com/textmate/2014-October/037983.html">http://lists.macromates.com/textmate/2014-October/037983.html</a></div><div id="bloop_customfont" style="margin: 0px;"><br></div><div id="bloop_customfont" style="margin: 0px;">There’s also this document <a href="https://gist.github.com/dvessel/1478685">https://gist.github.com/dvessel/1478685</a> about .tm_properties which might help you understand.</div><div id="bloop_customfont" style="margin: 0px;"><br></div><div id="bloop_customfont" style="margin: 0px;">I hope thats helpful!</div><div id="bloop_customfont" style="margin: 0px;"><br></div></div> <div id="bloop_sign_1431035595853650944" class="bloop_sign"><div style="font-family:helvetica,arial;font-size:13px">Graham P Heath<br><br></div></div> <br><p style="color:#000;">On May 7, 2015 at 4:22:34 PM, Tom Smyth (<a href="mailto:tom@sassafras.coop">tom@sassafras.coop</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div><div></div><div>



<title></title>


<div dir="ltr">This document doesn't quite seem right anymore:
<div><br></div>
<div><a href="http://blog.macromates.com/2007/file-type-detection-rspec-rails/">http://blog.macromates.com/2007/file-type-detection-rspec-rails/</a></div>
<div><br></div>
<div>I checked my manual bindings and ruby is not in there, yet my
RSpec first line match isn't working.</div>
<div><br></div>
<div>Does anyone know how to fix this for version 2?</div>
<div><br></div>
<div>Thanks</div>
<div><br clear="all">
<div><br></div>
--<br>
<div class="gmail_signature">
<div dir="ltr">Tom Smyth
<div><br></div>
<div>Worker-Owner, Sassafras Tech Collective</div>
<div>Specializing in innovative, usable tech for social
change </div>
<div><a href="http://sassafras.coop/" target="_blank">sassafras.coop</a> <b>·</b> @sassafrastech</div>
<div><br></div>
<div>Resident, Touchstone Cohousing</div>
<div><a href="http://touchstonecohousing.org" target="_blank">touchstonecohousing.org</a></div>
</div>
</div>
</div>
</div>



<br>_______________________________________________
<br>textmate mailing list
<br>textmate@lists.macromates.com
<br>http://lists.macromates.com/listinfo/textmate</div></div></span></blockquote></body></html>