Complete rewrite based off of ruby.vim indent