Skip to content

Commit

Permalink
chore: update package manifest for vscode
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-semenov committed Apr 19, 2024
1 parent 5428aa6 commit e7ee2b7
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ on:
branches: [ main ]

jobs:
pre-commit:
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
Expand Down
2 changes: 1 addition & 1 deletion language-configuration.json
Original file line number Diff line number Diff line change
@@ -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": [ "/*", "*/" ]
},
Expand Down
40 changes: 29 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,41 @@
"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"
},
"categories": [
"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"
}
}

0 comments on commit e7ee2b7

Please sign in to comment.