Add onEnterRule for SassDoc documentation (fix #150598) (#150599)

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
This commit is contained in:
William Killerud
2022-05-30 15:43:12 +02:00
committed by GitHub
parent b6cd2b1f8a
commit 869d707bef

View File

@@ -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": "/// "
}
}
]
}