Skip to content
Snippets Groups Projects
Commit 7b00c30c authored by Marijn Haverbeke's avatar Marijn Haverbeke
Browse files

[ruby mode] Make else and elsif electric

Closes #4345
parent e2c146e6
No related branches found
No related tags found
No related merge requests found
......@@ -275,7 +275,7 @@ CodeMirror.defineMode("ruby", function(config) {
(state.continuedLine ? config.indentUnit : 0);
},
electricInput: /^\s*(?:end|rescue|\})$/,
electricInput: /^\s*(?:end|rescue|elsif|else|\})$/,
lineComment: "#"
};
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment