The auto complete for my ruby do
blocks in SublimeText2 started auto completing this:
downto(0) { nnn }
instead of do..end
. I have not changed any settings recently so I am at a bit of a loss.
maybe you should try dob
, that is for do..end
block snippet
or you can create this snippet your self:
<snippet>
<content><![CDATA[
do
$1
end
]]></content>
<tabTrigger>do</tabTrigger>
<scope>source.ruby</scope>
<description>do..end</description>
</snippet>
then you can use do tab
to insert the do block which has no variable
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With