Sublime Forum

Ruby syntax - alternate ends

#1

When applying highlighting, is there a way to identify even/odd ends?

In the editor I would like my syntax to look something like this

@object.each do |thing|
… if thing.present?
… if thing.is_lovely?

… end
end
end

or have different ends depending on the opening keyword

@object.each do |thing|
… if thing.present?
… if thing.is_lovely?

… end
… end
end

0 Likes