Skip to content

Commit

Permalink
Fix scopes of languages and grammars nodes in VSCode extension
Browse files Browse the repository at this point in the history
  • Loading branch information
Viir committed Dec 7, 2024
1 parent cdb9500 commit b6c35e4
Showing 1 changed file with 31 additions and 21 deletions.
52 changes: 31 additions & 21 deletions implement/vscode/extension/pine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"displayName": "Pine",
"description": "Elm developer tools",
"license": "MIT",
"version": "0.1.0",
"version": "0.1.1",
"author": "Michael Rätzel",
"repository": {
"type": "git",
"url": "https://github.com/pine-vm/pine"
Expand All @@ -13,26 +14,8 @@
"Programming Languages"
],
"icon": "src/pine-icon.png",
"keywords": [],
"languages": [
{
"id": "elm",
"aliases": [
"Elm",
"elm"
],
"extensions": [
".elm"
],
"configuration": "./src/language-configuration.json"
}
],
"grammars": [
{
"language": "elm",
"scopeName": "source.elm",
"path": "./src/syntax.json"
}
"keywords": [
"elm"
],
"engines": {
"vscode": "^1.75.0"
Expand All @@ -42,6 +25,33 @@
],
"main": "./client/out/extension",
"contributes": {
"languages": [
{
"id": "elm",
"aliases": [
"Elm",
"elm"
],
"extensions": [
".elm"
],
"configuration": "./src/language-configuration.json"
}
],
"grammars": [
{
"language": "elm",
"scopeName": "source.elm",
"path": "./src/syntax.json"
}
],
"configurationDefaults": {
"[elm]": {
"editor.tabSize": 4,
"editor.formatOnSave": true,
"editor.wordBasedSuggestions": "off"
}
},
"configuration": {
"type": "object",
"title": "Example configuration",
Expand Down

0 comments on commit b6c35e4

Please sign in to comment.