Skip to content

Commit

Permalink
Fix onEnterRules syntax in language configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
sebthom authored and mickaelistria committed Jan 27, 2024
1 parent 9ffbadc commit 5336f05
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
["\"", "\""]
],
"onEnterRules":[
{"beforeText": "^\\s*/{3}.*$", "action":{ "indentAction": "None", "appendText": "/// " }},
{"beforeText": "^\\s*/{2}\\!.*$", "action": { "indentAction": "None", "appendText": "//! " }},
{"beforeText": "^\\s*/\\*(\\*|\\!)(?!/)([^\\*]|\\*(?!/))*$", "afterText": "^\\s*\\*/$", "action": { "indentAction": "IndentOutdent", "appendText": " * " }},
{"beforeText": "^\\s*/\\*(\\*|\\!)(?!/)([^\\*]|\\*(?!/))*$", "action": { "indentAction": "None", "appendText": " * " }},
{"beforeText": "^(\\ \\ )*\\ \\*(\\ ([^\\*]|\\*(?!/))*)?$", "action": { "indentAction": "None", "appendText": " * " }},
{"beforeText": "^(\\ \\ )*\\ \\*/\\s*$", "action": { "indentAction": "None", "removeText": 1 }}
{"beforeText": "^\\s*/{3}.*$", "action": { "indent": "none", "appendText": "/// " }},
{"beforeText": "^\\s*/{2}\\!.*$", "action": { "indent": "none", "appendText": "//! " }},
{"beforeText": "^\\s*/\\*(\\*|\\!)(?!/)([^\\*]|\\*(?!/))*$", "afterText": "^\\s*\\*/$", "action": { "indent": "indentOutdent", "appendText": " * " }},
{"beforeText": "^\\s*/\\*(\\*|\\!)(?!/)([^\\*]|\\*(?!/))*$", "action": { "indent": "none", "appendText": " * " }},
{"beforeText": "^(\\ \\ )*\\ \\*(\\ ([^\\*]|\\*(?!/))*)?$", "action": { "indent": "none", "appendText": " * " }},
{"beforeText": "^(\\ \\ )*\\ \\*/\\s*$", "action": { "indent": "none", "removeText": 1 }}
]
}

0 comments on commit 5336f05

Please sign in to comment.