Skip to content
This repository was archived by the owner on Jan 9, 2024. It is now read-only.

Commit 53a954e

Browse files
authored
Merge pull request #20 from go-wyvern/add_spx_snippet
add spx snippet
2 parents e7bc0e0 + 7abc625 commit 53a954e

7 files changed

Lines changed: 1483 additions & 6 deletions

File tree

package.json

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
"name": "gop",
33
"displayName": "goplus",
44
"description": "GoPlus",
5-
"version": "0.7.4",
5+
"version": "0.7.8",
66
"engines": {
77
"vscode": "^1.46.0"
88
},
99
"publisher": "goplus",
1010
"activationEvents": [
11-
"onLanguage:gop"
11+
"onLanguage:gop",
12+
"onLanguage:spx"
1213
],
1314
"license": "Apache-2.0",
1415
"icon": "images/icon.png",
@@ -42,19 +43,41 @@
4243
".gop"
4344
],
4445
"configuration": "./language-configuration.json"
46+
},
47+
{
48+
"id": "spx",
49+
"aliases": [
50+
"goplus",
51+
"gop",
52+
"spx"
53+
],
54+
"extensions": [
55+
".gmx",
56+
".spx"
57+
],
58+
"configuration": "./language-configuration.json"
4559
}
4660
],
4761
"grammars": [
4862
{
4963
"language": "gop",
5064
"scopeName": "source.gop",
5165
"path": "./syntaxes/gop.tmLanguage.json"
66+
},
67+
{
68+
"language": "spx",
69+
"scopeName": "source.spx",
70+
"path": "./syntaxes/spx.tmLanguage.json"
5271
}
5372
],
5473
"snippets": [
5574
{
5675
"language": "gop",
5776
"path": "./snippets/goplus.json"
77+
},
78+
{
79+
"language": "spx",
80+
"path": "./snippets/spx.json"
5881
}
5982
],
6083
"configurationDefaults": {
@@ -64,6 +87,13 @@
6487
"editor.codeActionsOnSave": {
6588
"source.organizeImports": true
6689
}
90+
},
91+
"[spx]": {
92+
"editor.insertSpaces": false,
93+
"editor.formatOnSave": true,
94+
"editor.codeActionsOnSave": {
95+
"source.organizeImports": true
96+
}
6797
}
6898
},
6999
"configuration": {

0 commit comments

Comments
 (0)