diff --git a/extensions/scss/language-configuration.json b/extensions/scss/language-configuration.json index 8ed82ad4a6c..ffa53ddf958 100644 --- a/extensions/scss/language-configuration.json +++ b/extensions/scss/language-configuration.json @@ -32,5 +32,14 @@ "increaseIndentPattern": "(^.*\\{[^}]*$)", "decreaseIndentPattern": "^\\s*\\}" }, - "wordPattern": "(#?-?\\d*\\.\\d\\w*%?)|(::?[\\w-]*(?=[^,{;]*[,{]))|(([@$#.!])?[\\w-?]+%?|[@#!$.])" + "wordPattern": "(#?-?\\d*\\.\\d\\w*%?)|(::?[\\w-]*(?=[^,{;]*[,{]))|(([@$#.!])?[\\w-?]+%?|[@#!$.])", + "onEnterRules": [ + { + "beforeText": "^[\\s]*///.*$", + "action": { + "indent": "none", + "appendText": "/// " + } + } + ] }