I open a ruby file, and enter 'class Foo'. When I hit enter, it indents the cursor. If I type 'end', I expect it to shift back to the left, like it does correctly with other blocks (like if, while, each, etc.). But the 'end' remains indented, and I have to manually shift it back. Is there a setting to make indentation work properly with class..end?
(sublime text build 3126, running on macOS Sierra)