[quote=“Acciaccatura”]Thanks for this great plugin, it’s very useful.
I was wondering if you had any plans to add support for Ruby, particularly the matching of Ruby’s method and block syntax? I noticed you mentioned you weren’t a Ruby developer, so here’s a quick example:
def my_function(things)
things.each do |thing|
...
end
end
In this example, there would be two pairs of “braces”:
- “def” would match the final “end”.
- “do” would match the other “end”.
I had a quick look at implementing this myself in the hope it was a quick change, but didn’t get too far with my limited Python experience.[/quote]
The functionality you are looking for is the same as highlighting brackets, but the code to highlight these keywords like brackets don’t fit in the algorithm at all.
You are not the first to ask this, and I have not yet decided if I want to pursue this yet. I will consider it, but I will not make any promises.