mirror of
https://github.com/Microsoft/vscode
synced 2024-10-05 19:02:54 +00:00
Update Ruby indent pattern
This commit is contained in:
parent
96ac39f68f
commit
349f871af2
|
@ -23,7 +23,7 @@
|
|||
["'", "'"]
|
||||
],
|
||||
"indentationRules": {
|
||||
"increaseIndentPattern": "^\\s*((begin|class|(private|protected)\\s+def|def|else|elsif|ensure|for|if|module|rescue|unless|until|when|while|case)|(.*\\sdo\\b)|(.*=\\s*(case|if|unless)))\\b[^\\{;]*$",
|
||||
"increaseIndentPattern": "^\\s*((begin|class|(private|protected)\\s+def|def|else|elsif|ensure|for|if|module|rescue|unless|until|when|while|case)|([^#]*\\sdo\\b)|([^#]*=\\s*(case|if|unless)))\\b([^\\{;]|(\"|'|\/).*\\4)*$",
|
||||
"decreaseIndentPattern": "^\\s*([}\\]]([,)]?\\s*(#|$)|\\.[a-zA-Z_]\\w*\\b)|(end|rescue|ensure|else|elsif|when)\\b)"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue