Sublime Forum

Different syntax color for ending a class and method?

#1

I am using the monokai color syntax which I really like. I noticed a vim setup that was coloring the endings of methods and classes (and modules too actually) differently than more common things like if, loop, etc.

So for in the example ruby code:

class Example def method if true until false # this loop never ends! end end end end

The last 2 ends would be colored differently to clarify they are ending a method/class/module

I was wondering if there was a way I could easily extend ST2 to do this?

0 Likes