From 43286aa8514b6a33603b0376be773ef9908125c9 Mon Sep 17 00:00:00 2001 From: Albert Date: Thu, 6 Apr 2023 13:24:50 +0200 Subject: [PATCH] Moved language configuration from /src to /data --- .gitignore | 1 + {src => data}/spright-grammar.json | 0 {src => data}/spright-language.json | 0 icon.png => media/icon.png | Bin package.json | 6 +++--- 5 files changed, 4 insertions(+), 3 deletions(-) rename {src => data}/spright-grammar.json (100%) rename {src => data}/spright-language.json (100%) rename icon.png => media/icon.png (100%) diff --git a/.gitignore b/.gitignore index 2b6b314..2f15577 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +/_* /node_modules/ /out/ *.vsix diff --git a/src/spright-grammar.json b/data/spright-grammar.json similarity index 100% rename from src/spright-grammar.json rename to data/spright-grammar.json diff --git a/src/spright-language.json b/data/spright-language.json similarity index 100% rename from src/spright-language.json rename to data/spright-language.json diff --git a/icon.png b/media/icon.png similarity index 100% rename from icon.png rename to media/icon.png diff --git a/package.json b/package.json index 7800a0f..476dbf8 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "categories": [ "Other" ], - "icon": "icon.png", + "icon": "media/icon.png", "activationEvents": [], "main": "./out/extension.js", "contributes": { @@ -36,14 +36,14 @@ "Spright Configuration", "spright" ], - "configuration": "./src/spright-language.json" + "configuration": "./data/spright-language.json" } ], "grammars": [ { "language": "spright", "scopeName": "source.spright", - "path": "./src/spright-grammar.json" + "path": "./data/spright-grammar.json" } ], "customEditors": [