Skip to content

Commit c9bf876

Browse files
committed
v0.0.3
1 parent 87b956f commit c9bf876

File tree

3 files changed

+1094
-2
lines changed

3 files changed

+1094
-2
lines changed

language-configuration.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"comments": {
3+
// symbol used for single line comment. Remove this entry if your language does not support line comments
4+
"lineComment": "//",
5+
// symbols used for start and end a block comment. Remove this entry if your language does not support block comments
6+
"blockComment": [ "/*", "*/" ]
7+
},
8+
// symbols used as brackets
9+
"brackets": [
10+
["{", "}"],
11+
["[", "]"],
12+
["(", ")"]
13+
],
14+
// symbols that are auto closed when typing
15+
"autoClosingPairs": [
16+
["{", "}"],
17+
["[", "]"],
18+
["(", ")"],
19+
["\"", "\""],
20+
["'", "'"]
21+
],
22+
// symbols that that can be used to surround a selection
23+
"surroundingPairs": [
24+
["{", "}"],
25+
["[", "]"],
26+
["(", ")"],
27+
["\"", "\""],
28+
["'", "'"]
29+
]
30+
}

package.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "Wux Weapp Snippets",
44
"description": "Wux Weapp Snippets for VS Code.",
55
"icon": "wux-weapp-snippets.png",
6-
"version": "0.0.2",
6+
"version": "0.0.3",
77
"homepage": "https://github.com/wux-weapp/wux-weapp-snippets/blob/master/README.md",
88
"bugs": {
99
"url": "https://github.com/wux-weapp/wux-weapp-snippets/issues"
@@ -30,9 +30,21 @@
3030
"languages": [
3131
{
3232
"id": "wxml",
33+
"aliases": [
34+
"wxml",
35+
"wxml"
36+
],
3337
"extensions": [
3438
".wxml"
35-
]
39+
],
40+
"configuration": "./language-configuration.json"
41+
}
42+
],
43+
"grammars": [
44+
{
45+
"language": "wxml",
46+
"scopeName": "text.html.wxml",
47+
"path": "./syntaxes/wxml.tmLanguage"
3648
}
3749
],
3850
"snippets": [

0 commit comments

Comments
 (0)