fileTypes rb foldingStartMarker (?x)^ (\s*+ (module|class|def |unless|if |case |begin |for|while|until |( "(\\.|[^"])*+" # eat a double quoted string | '(\\.|[^'])*+' # eat a single quoted string | [^#"'] # eat all but comments and strings )* ( \s (do|begin|case) | [-+=&|*/~%^<>~] \s*+ (if|unless) ) )\b (?! [^;]*+ ; .*? \bend\b ) |( "(\\.|[^"])*+" # eat a double quoted string | '(\\.|[^'])*+' # eat a single quoted string | [^#"'] # eat all but comments and strings )* ( \{ (?! [^}]*+ \} ) | \[ (?! [^\]]*+ \] ) ) ).*$ | [#] .*? \(fold\) \s*+ $ # Sune’s special marker foldingStopMarker (?x) ( (^|;) \s*+ end \s*+ ([#].*)? $ | ^ \s*+ [}\]] \s*+ ([#].*)? $ | [#] .*? \(end\) \s*+ $ # Sune’s special marker ) name Ruby on Rails (Hobo Controller) patterns include source.ruby.rails scopeName source.ruby.rails.hobo uuid 97D92148-88EC-40DC-B1DC-1FABCA62A501