From 3ee317bcd2d468c86350709cd4cf4914cdcea2bb Mon Sep 17 00:00:00 2001 From: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 13 Jan 2024 00:13:09 +0000 Subject: [PATCH] feat: update Themes and Grammars [ci skip] --- packages/tm-grammars/README.md | 2 +- packages/tm-grammars/grammars/beancount.json | 74 -------------------- packages/tm-grammars/index.js | 8 +-- packages/tm-grammars/package.json | 2 +- 4 files changed, 6 insertions(+), 80 deletions(-) diff --git a/packages/tm-grammars/README.md b/packages/tm-grammars/README.md index 92aeffc..b27068a 100644 --- a/packages/tm-grammars/README.md +++ b/packages/tm-grammars/README.md @@ -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 | diff --git a/packages/tm-grammars/grammars/beancount.json b/packages/tm-grammars/grammars/beancount.json index fa9bb1d..c0ab646 100644 --- a/packages/tm-grammars/grammars/beancount.json +++ b/packages/tm-grammars/grammars/beancount.json @@ -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": { diff --git a/packages/tm-grammars/index.js b/packages/tm-grammars/index.js index 8068483..5800d8e 100644 --- a/packages/tm-grammars/index.js +++ b/packages/tm-grammars/index.js @@ -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: [ diff --git a/packages/tm-grammars/package.json b/packages/tm-grammars/package.json index 5733527..fedc476 100644 --- a/packages/tm-grammars/package.json +++ b/packages/tm-grammars/package.json @@ -1,7 +1,7 @@ { "name": "tm-grammars", "type": "module", - "version": "1.0.13", + "version": "1.0.14", "packageManager": "pnpm@8.14.0", "description": "Collecton of TextMate grammars in JSON", "author": "Anthony Fu ",