This commit is contained in:
YouWei Zhao 2024-01-16 21:20:22 +08:00
parent 0380d982f9
commit 1040c0091e
2 changed files with 8 additions and 26 deletions

View file

@ -1,9 +1,6 @@
{
"comments": {
"blockComment": [
"<!--",
"-->"
]
"blockComment": ["<!--", "-->"]
},
"brackets": [
["{", "}"],
@ -13,25 +10,10 @@
"colorizedBracketPairs": [
],
"autoClosingPairs": [
{
"open": "{",
"close": "}"
},
{
"open": "[",
"close": "]"
},
{
"open": "(",
"close": ")"
},
{
"open": "<",
"close": ">",
"notIn": [
"string"
]
}
{ "open": "{", "close": "}" },
{ "open": "[", "close": "]" },
{ "open": "(", "close": ")" },
{ "open": "<", "close": ">", "notIn": [ "string" ] }
],
"surroundingPairs": [
["(", ")"],
@ -50,5 +32,5 @@
"end": "^\\s*<!--\\s*#?endregion\\b.*-->"
}
},
"wordPattern": { "pattern": "(\\p{Alphabetic}|\\p{Number}|\\p{Nonspacing_Mark})(((\\p{Alphabetic}|\\p{Number}|\\p{Nonspacing_Mark})|[_])?(\\p{Alphabetic}|\\p{Number}|\\p{Nonspacing_Mark}))*", "flags": "ug" },
"wordPattern": { "pattern": "(\\p{Alphabetic}|\\p{Number}|\\p{Nonspacing_Mark})(((\\p{Alphabetic}|\\p{Number}|\\p{Nonspacing_Mark})|[_])?(\\p{Alphabetic}|\\p{Number}|\\p{Nonspacing_Mark}))*", "flags": "ug" }
}

View file

@ -10,14 +10,14 @@
],
"scopeName": "text.html.markdown.rustdoc",
"repository": {
"markdown":{
"markdown": {
"patterns": [
{
"include": "text.html.markdown"
}
]
},
"fenced_code_block":{
"fenced_code_block": {
"patterns": [
{
"include": "#fenced_code_block_rust"