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

Commit

Permalink
Merge pull request #20 from go-wyvern/add_spx_snippet
Browse files Browse the repository at this point in the history
add spx snippet
  • Loading branch information
go-wyvern authored Dec 7, 2021
2 parents e7bc0e0 + 7abc625 commit 53a954e
Show file tree
Hide file tree
Showing 7 changed files with 1,483 additions and 6 deletions.
34 changes: 32 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
"name": "gop",
"displayName": "goplus",
"description": "GoPlus",
"version": "0.7.4",
"version": "0.7.8",
"engines": {
"vscode": "^1.46.0"
},
"publisher": "goplus",
"activationEvents": [
"onLanguage:gop"
"onLanguage:gop",
"onLanguage:spx"
],
"license": "Apache-2.0",
"icon": "images/icon.png",
Expand Down Expand Up @@ -42,19 +43,41 @@
".gop"
],
"configuration": "./language-configuration.json"
},
{
"id": "spx",
"aliases": [
"goplus",
"gop",
"spx"
],
"extensions": [
".gmx",
".spx"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "gop",
"scopeName": "source.gop",
"path": "./syntaxes/gop.tmLanguage.json"
},
{
"language": "spx",
"scopeName": "source.spx",
"path": "./syntaxes/spx.tmLanguage.json"
}
],
"snippets": [
{
"language": "gop",
"path": "./snippets/goplus.json"
},
{
"language": "spx",
"path": "./snippets/spx.json"
}
],
"configurationDefaults": {
Expand All @@ -64,6 +87,13 @@
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
},
"[spx]": {
"editor.insertSpaces": false,
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
}
},
"configuration": {
Expand Down
Loading

0 comments on commit 53a954e

Please sign in to comment.