diff --git a/org.eclipse.corrosion/language-configurations/language-configuration.json b/org.eclipse.corrosion/language-configurations/language-configuration.json index fe9d8edb..c062fec1 100644 --- a/org.eclipse.corrosion/language-configurations/language-configuration.json +++ b/org.eclipse.corrosion/language-configurations/language-configuration.json @@ -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 }} ] }