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

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
pull/150720/head
William Killerud 2022-05-30 15:43:12 +02:00 committed by GitHub
parent b6cd2b1f8a
commit 869d707bef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 1 deletions

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