Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
SyntaxSuggest::BlockExpand#call
call(block)
lib/syntax_suggest/block_expand.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/syntax_suggest/block_expand.rb, line 40
def call(block)
if (next_block = expand_neighbors(block))
next_block
else
expand_indent(block)
end
end
Main interface. Expand current indentation, before expanding to a lower indentation