diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 64c8ab1..1c4ed3e 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -10,8 +10,8 @@ jobs: pre-commit: runs-on: macos-12 steps: - - name: Install pre-commit and yamllint - run: brew install pre-commit yamllint + - name: Install pre-commit, jsonlint, and yamllint + run: brew install pre-commit jsonlint yamllint - name: Checkout uses: actions/checkout@v3 diff --git a/language-configuration.json b/language-configuration.json index 6b619d0..7809c80 100644 --- a/language-configuration.json +++ b/language-configuration.json @@ -1,7 +1,7 @@ { "comments": { // symbol used for single line comment. Remove this entry if your language does not support line comments - "lineComment": "//", + "lineComment": "\\", // symbols used for start and end a block comment. Remove this entry if your language does not support block comments "blockComment": [ "/*", "*/" ] }, diff --git a/package.json b/package.json index e31b4f8..770c7c8 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,10 @@ "displayName": "PARI/GP Lang", "description": "Syntax highlighting for PARI/GP language", "version": "0.0.1", + "repository": { + "type": "git", + "url": "https://github.com/piotr-semenov/parigp-lang.git" + }, "engines": { "vscode": "^1.87.0" }, @@ -10,16 +14,30 @@ "Programming Languages" ], "contributes": { - "languages": [{ - "id": "parigp", - "aliases": ["PARI/GP", "parigp"], - "extensions": [".pari",".parigp",".gp"], - "configuration": "./language-configuration.json" - }], - "grammars": [{ - "language": "parigp", - "scopeName": "source.parigp", - "path": "./syntaxes/parigp.tmLanguage.json" - }] + "languages": [ + { + "id": "parigp", + "aliases": [ + "PARI/GP", + "parigp" + ], + "extensions": [ + ".pari", + ".parigp", + ".gp" + ], + "configuration": "./language-configuration.json" + } + ], + "grammars": [ + { + "language": "parigp", + "scopeName": "source.parigp", + "path": "./syntaxes/parigp.tmLanguage.json" + } + ] + }, + "dependencies": { + "@vscode/vsce": "^2.25.0" } }