Skip to content

Commit c187bf9

Browse files
committed
添加折叠用的字符串
1 parent 7e2dfa4 commit c187bf9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

language-configuration.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
"surroundingPairs": [
1818
["[", "]"],
1919
["\"", "\""],
20-
["'", "'"]
20+
["'", "'"],
2121
],
2222
"wordPattern": "('(.*?)')|(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\#\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\:\\;\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)|(\\;.+$)",
2323
"folding": {
2424
"markers": {
25-
"start": "proc|struct",
26-
"end": "endp|ends"
25+
"start": "^\\s*\\w+\\s+proc|struct|PROC|STRUCT|SEGMENT|MACRO|macro",
26+
"end": "^\\s*\\w*\\s*endp|ends|ENDP|ENDS|ENDM|endm"
2727
}
2828
},
2929
"indentationRules": {

0 commit comments

Comments
 (0)