Skip to content

Commit

Permalink
feat: update Themes and Grammars [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 13, 2024
1 parent cd8eae0 commit 3ee317b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 80 deletions.
2 changes: 1 addition & 1 deletion packages/tm-grammars/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import { grammars } from 'tm-grammars'
| `awk` | | [luggage66/vscode-awk](https://github.com/luggage66/vscode-awk/blob/eff8c0f160ae16592c8d9963fd77046137fd2612/syntaxes/awk.tmLanguage) | [MIT](https://raw.githubusercontent.com/luggage66/vscode-awk/master/LICENSE.txt) | | 5.18 kB |
| `ballerina` | | [ballerina-platform/ballerina-grammar](https://github.com/ballerina-platform/ballerina-grammar/blob/42ddcc1c63c86bdd6ba712e86bf965f5063831d3/syntaxes/ballerina.tmLanguage) | [Apache-2.0](https://raw.githubusercontent.com/ballerina-platform/ballerina-grammar/master/LICENSE) | | 57.97 kB |
| `bat` | `batch` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/df15c8e832a341633acd2e9bb26e1b275d09cfe0/extensions/bat/syntaxes/batchfile.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 12.38 kB |
| `beancount` | | [Lencerf/vscode-beancount](https://github.com/Lencerf/vscode-beancount/blob/2c0dd2128f1099e124d6dd05fe21d5a5adee39e2/syntaxes/beancount.tmLanguage) | [MIT](https://raw.githubusercontent.com/Lencerf/vscode-beancount/master/LICENSE) | | 11.21 kB |
| `beancount` | | [Lencerf/vscode-beancount](https://github.com/Lencerf/vscode-beancount/blob/ffc762e047bb09ed5d16508b302aef16a6057139/syntaxes/beancount.tmLanguage) | [MIT](https://raw.githubusercontent.com/Lencerf/vscode-beancount/master/LICENSE) | | 10.19 kB |
| `berry` | `be` | [berry-lang/berry](https://github.com/berry-lang/berry/blob/a0f5c044a3b593deaf87292ca6f04c2343e53dc8/tools/plugins/vscode/skiars.berry-1.1.0/syntaxes/berry.json) | [MIT](https://raw.githubusercontent.com/berry-lang/berry/master/LICENSE) | | 2.12 kB |
| `bibtex` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/6021e0179514df6de02f91174ff7f9c5f6c87fd1/extensions/latex/syntaxes/Bibtex.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 4.68 kB |
| `bicep` | | [Azure/bicep](https://github.com/Azure/bicep/blob/7d38437196bf9ad16c8401ffbb6406eea8457ed5/src/textmate/bicep.tmlanguage) | [MIT](https://raw.githubusercontent.com/Azure/bicep/main/LICENSE) | | 3.94 kB |
Expand Down
74 changes: 0 additions & 74 deletions packages/tm-grammars/grammars/beancount.json
Original file line number Diff line number Diff line change
Expand Up @@ -292,80 +292,6 @@
}
]
},
{
"begin": "([0-9]{4})([\\-|/])([0-9]{2})([\\-|/])([0-9]{2})\\s+(note)(?=(.*\\*\\\"\\s))",
"beginCaptures": {
"1": {
"name": "constant.numeric.date.year.beancount"
},
"2": {
"name": "punctuation.separator.beancount"
},
"3": {
"name": "constant.numeric.date.month.beancount"
},
"4": {
"name": "punctuation.separator.beancount"
},
"5": {
"name": "constant.numeric.date.day.beancount"
},
"6": {
"name": "support.function.directive.beancount"
}
},
"comment": "Note as Oneliner Transaction directive",
"end": "(?=(^\\s*$|^\\S))",
"name": "meta.directive.notetotext.beancount",
"patterns": [
{
"include": "#meta"
},
{
"include": "#account"
},
{
"match": "(?<=\\s)\\\"",
"name": "punctuation.separator.beancount"
},
{
"include": "#cost"
},
{
"include": "#amount"
},
{
"begin": "(\\*|\\!)",
"beginCaptures": {
"0": {
"name": "support.function.directive.beancount"
}
},
"end": "(\\*\\\")",
"endCaptures": {
"0": {
"name": "punctuation.separator.beancount"
}
},
"patterns": [
{
"match": "\\\\.",
"name": "constant.character.escape.beancount"
},
{
"include": "#tag"
},
{
"match": "([^\\\"])",
"name": "string.quoted.double.beancount"
}
]
},
{
"include": "#illegal"
}
]
},
{
"begin": "([0-9]{4})([\\-|/])([0-9]{2})([\\-|/])([0-9]{2})\\s(note|document)",
"beginCaptures": {
Expand Down
8 changes: 4 additions & 4 deletions packages/tm-grammars/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,15 +217,15 @@ export const grammars = [
source: 'https://github.com/microsoft/vscode/blob/df15c8e832a341633acd2e9bb26e1b275d09cfe0/extensions/bat/syntaxes/batchfile.tmLanguage.json',
},
{
byteSize: 11478,
byteSize: 10430,
displayName: 'Beancount',
lastUpdate: '2024-01-10T20:17:30Z',
lastUpdate: '2024-01-11T08:43:22Z',
license: 'MIT',
licenseUrl: 'https://raw.githubusercontent.com/Lencerf/vscode-beancount/master/LICENSE',
name: 'beancount',
scopeName: 'text.beancount',
sha: '2c0dd2128f1099e124d6dd05fe21d5a5adee39e2',
source: 'https://github.com/Lencerf/vscode-beancount/blob/2c0dd2128f1099e124d6dd05fe21d5a5adee39e2/syntaxes/beancount.tmLanguage',
sha: 'ffc762e047bb09ed5d16508b302aef16a6057139',
source: 'https://github.com/Lencerf/vscode-beancount/blob/ffc762e047bb09ed5d16508b302aef16a6057139/syntaxes/beancount.tmLanguage',
},
{
aliases: [
Expand Down
2 changes: 1 addition & 1 deletion packages/tm-grammars/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tm-grammars",
"type": "module",
"version": "1.0.13",
"version": "1.0.14",
"packageManager": "[email protected]",
"description": "Collecton of TextMate grammars in JSON",
"author": "Anthony Fu <[email protected]>",
Expand Down

0 comments on commit 3ee317b

Please sign in to comment.