Skip to content

Commit 35a5139

Browse files
francocatenamarijnh
authored andcommitted
[ruby mode] Add fold info
1 parent e49a19f commit 35a5139

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mode/ruby/ruby.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,8 @@ CodeMirror.defineMode("ruby", function(config) {
286286
},
287287

288288
electricInput: /^\s*(?:end|rescue|elsif|else|\})$/,
289-
lineComment: "#"
289+
lineComment: "#",
290+
fold: "indent"
290291
};
291292
});
292293

0 commit comments

Comments
 (0)