Skip to content

Commit

Permalink
Fix #206292. Revert ruby decrease indent rule. (#206295)
Browse files Browse the repository at this point in the history
  • Loading branch information
rebornix committed Feb 26, 2024
1 parent e73419b commit 927ae34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/ruby/language-configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
],
"indentationRules": {
"increaseIndentPattern": "^\\s*((begin|class|(private|protected)\\s+def|def|else|elsif|ensure|for|if|module|rescue|unless|until|when|in|while|case)|([^#]*\\sdo\\b)|([^#]*=\\s*(case|if|unless)))\\b([^#\\{;]|(\"|'|\/).*\\4)*(#.*)?$",
"decreaseIndentPattern": "^\\s*([}\\]]([,)]?\\s*(#|$)|\\.[a-zA-Z_]\\w*\\b)|(end|rescue|ensure|else|elsif)\\b)|((in|when)\\s)"
"decreaseIndentPattern": "^\\s*([}\\]]([,)]?\\s*(#|$)|\\.[a-zA-Z_]\\w*\\b)|(end|rescue|ensure|else|elsif|when|in)\\b)"
}
}

0 comments on commit 927ae34

Please sign in to comment.