Added: “(?!.*?;.*?\\<end\\>)” to the end of the increase indent pattern. That way something like: “def index; end” won't cause extra indent. Changed: U trunk/Ruby.tmbundle/Syntaxes/Ruby.plist