mirror of
https://github.com/Microsoft/vscode
synced 2024-10-02 09:18:59 +00:00
adding pattern in order to indent the next line
This commit is contained in:
parent
cefbd4fbe7
commit
69f9c7a2e1
|
@ -137,6 +137,9 @@
|
|||
// e.g. * ...| or */| or *-----*/|
|
||||
"unIndentedLinePattern": {
|
||||
"pattern": "^(\\t|[ ])*[ ]\\*[^/]*\\*/\\s*$|^(\\t|[ ])*[ ]\\*/\\s*$|^(\\t|[ ])*\\*([ ]([^\\*]|\\*(?!/))*)?$"
|
||||
},
|
||||
"indentNextLinePattern": {
|
||||
"pattern": "^\\s*(var|const|let)\\s+\\w+\\s*=\\s*\\(.*\\)\\s*=>\\s*$"
|
||||
}
|
||||
},
|
||||
"onEnterRules": [
|
||||
|
|
Loading…
Reference in a new issue