tm-grammars 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -30,7 +30,7 @@ import { grammars } from 'tm-grammars'
30
30
  | `applescript` | | [textmate/applescript.tmbundle](https://github.com/textmate/applescript.tmbundle/blob/4947cad7494eba084c21cfe04689b4efce96700f/Syntaxes/AppleScript.tmLanguage) | | | 29.44 kB |
31
31
  | `ara` | | [ara-lang/highlighting](https://github.com/ara-lang/highlighting/blob/ed1dbedcf03d0b67207e41fe2e11218cc925dc0d/syntaxes/ara.json) | [Apache-2.0](https://raw.githubusercontent.com/ara-lang/highlighting/main/LICENSE-APACHE) | | 6.88 kB |
32
32
  | `asm` | | [13xforever/x86_64-assembly-vscode](https://github.com/13xforever/x86_64-assembly-vscode/blob/15c07b12741ac75f5bb6e7701dc7c0d742add8dd/syntaxes/language-x86_64-assembly.tmLanguage) | [MIT](https://raw.githubusercontent.com/13xforever/x86_64-assembly-vscode/master/LICENSE.txt) | | 38.59 kB |
33
- | `astro` | | [withastro/language-tools](https://github.com/withastro/language-tools/blob/942f913bca2742305f8848583e9db6e91bd9958c/packages/vscode/syntaxes/astro.tmLanguage.src.yaml) | [MIT](https://raw.githubusercontent.com/withastro/language-tools/main/LICENSE) | `json` `javascript` `typescript` `stylus` `sass` `css` `scss` `less` `postcss` `tsx` | 10.58 kB |
33
+ | `astro` | | [withastro/language-tools](https://github.com/withastro/language-tools/blob/37434ab5ee2149dd74a7c1e800d8c279a0617912/packages/vscode/syntaxes/astro.tmLanguage.src.yaml) | [MIT](https://raw.githubusercontent.com/withastro/language-tools/main/LICENSE) | `json` `javascript` `typescript` `stylus` `sass` `css` `scss` `less` `postcss` `tsx` | 10.63 kB |
34
34
  | `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 |
35
35
  | `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 |
36
36
  | `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 |
@@ -44,7 +44,7 @@ import { grammars } from 'tm-grammars'
44
44
  | `clarity` | | [hirosystems/clarity.tmbundle](https://github.com/hirosystems/clarity.tmbundle/blob/14499973360935676fcf40fa37723ec216aa3c9f/Syntaxes/clarity.JSON-tmLanguage) | [MIT](https://raw.githubusercontent.com/hirosystems/clarity.tmbundle/main/LICENSE) | | 13.77 kB |
45
45
  | `clojure` | `clj` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/a1a4c0a63b1ad59e84f54b874744fe35dea9abe1/extensions/clojure/syntaxes/clojure.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 6.36 kB |
46
46
  | `cmake` | | [twxs/vs.language.cmake](https://github.com/twxs/vs.language.cmake/blob/19b1b8fe2d68d72cf294d0c3c22f0a3fc54f8f6f/syntaxes/CMake.tmLanguage) | [MIT](https://raw.githubusercontent.com/twxs/vs.language.cmake/master/LICENSE) | | 10.00 kB |
47
- | `cobol` | | [spgennard/vscode_cobol](https://github.com/spgennard/vscode_cobol/blob/f06c6efca55e00e561238f509762e73e79179ed8/syntaxes/COBOL.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/spgennard/vscode_cobol/main/LICENSE) | `sql` `html` `java` | 37.49 kB |
47
+ | `cobol` | | [spgennard/vscode_cobol](https://github.com/spgennard/vscode_cobol/blob/dd7bf2bfbcab03080da874c61cfc44b326842949/syntaxes/COBOL.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/spgennard/vscode_cobol/main/LICENSE) | `sql` `html` `java` | 37.83 kB |
48
48
  | `codeql` | `ql` | [github/vscode-codeql](https://github.com/github/vscode-codeql/blob/47fa163cb9fffce379458962eb391c9ef9082dcb/syntaxes/ql.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/github/vscode-codeql/main/LICENSE.md) | | 32.73 kB |
49
49
  | `coffee` | `coffeescript` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/ff58f5083f57b50e6a100ab60454dfb72fe21e80/extensions/coffeescript/syntaxes/coffeescript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `javascript` | 26.58 kB |
50
50
  | `cpp` | `c++` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/6ac83c7c7dda9f27ca1fe9d98675253e010b75d1/extensions/cpp/syntaxes/cpp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `cpp-macro` `glsl` `sql` | 411.19 kB |
@@ -424,6 +424,9 @@
424
424
  "patterns": [
425
425
  {
426
426
  "include": "source.tsx#template-substitution-element"
427
+ },
428
+ {
429
+ "include": "source.tsx#string-character-escape"
427
430
  }
428
431
  ]
429
432
  }
@@ -263,6 +263,24 @@
263
263
  "match": ">>\\s*(?i:turn|page|listing|leap-seconds|d)\\s+.*$",
264
264
  "name": "invalid.illegal.meta.preprocessor.cobolit"
265
265
  },
266
+ {
267
+ "match": "(?i:substitute-case|substitute)\\s+",
268
+ "name": "invalid.illegal.functions.cobolit"
269
+ },
270
+ {
271
+ "captures": {
272
+ "1": {
273
+ "name": "invalid.illegal.keyword.control.directive.conditional.cobol"
274
+ },
275
+ "2": {
276
+ "name": "invalid.illegal.entity.name.function.preprocessor.cobol"
277
+ },
278
+ "3": {
279
+ "name": "invalid.illegal.entity.name.function.preprocessor.cobol"
280
+ }
281
+ },
282
+ "match": "((((>>|\\$)[\\s]*)(?i:elif))(.*$))"
283
+ },
266
284
  {
267
285
  "captures": {
268
286
  "1": {
@@ -742,7 +760,7 @@
742
760
  "name": "keyword.identifers.cobol"
743
761
  },
744
762
  {
745
- "match": "(?<![-_])(?i:max|min|integer-of-date|integer-of-day|integer-part|integer|date-to-yyyymmdd|year-to-yyyy|day-to-yyyyddd|exp|exception-file|exception-location|exception-statement|exception-status|e|variance|integer-of-date|rem|pi|factorial|sqrt|log10|fraction-part|mean|exp|log|char|day-of-integer|date-of-integer|exp10|atan|integer-part|tan|sin|cos|midrange|addr|acos|asin|annuity|present-value|integer-of-day|ord-max|ord-min|ord|random|integer-of-date|sum|standard-deviation|median|reverse|abs|upper-case|lower-case|char-national|numval|mod|range|length|locale-date|locale-time-from-seconds|locale-time|seconds-past-midnight|stored-char-length|substitute-case|substitute|seconds-from-formatted-time|seconds-past-midnight|trim|length-an|numval-c|current-date|national-of|display-of|when-compiled|integer-of-boolean|combined-datetime|concatenate)(?=\\s|\\.|\\(|\\))",
763
+ "match": "(?<![-_])(?i:max|min|integer-of-date|integer-of-day|integer-part|integer|date-to-yyyymmdd|year-to-yyyy|day-to-yyyyddd|exp|exception-file|exception-location|exception-statement|exception-status|e|variance|integer-of-date|rem|pi|factorial|sqrt|log10|fraction-part|mean|exp|log|char|day-of-integer|date-of-integer|exp10|atan|integer-part|tan|sin|cos|midrange|addr|acos|asin|annuity|present-value|integer-of-day|ord-max|ord-min|ord|random|integer-of-date|sum|standard-deviation|median|reverse|abs|upper-case|lower-case|char-national|numval|mod|range|length|locale-date|locale-time-from-seconds|locale-time|seconds-past-midnight|stored-char-length|seconds-from-formatted-time|seconds-past-midnight|trim|length-an|numval-c|current-date|national-of|display-of|when-compiled|integer-of-boolean|combined-datetime|concatenate)(?=\\s|\\.|\\(|\\))",
746
764
  "name": "support.function.cobol"
747
765
  },
748
766
  {
package/index.js CHANGED
@@ -97,7 +97,7 @@ export const grammars = [
97
97
  source: 'https://github.com/13xforever/x86_64-assembly-vscode/blob/15c07b12741ac75f5bb6e7701dc7c0d742add8dd/syntaxes/language-x86_64-assembly.tmLanguage',
98
98
  },
99
99
  {
100
- byteSize: 10832,
100
+ byteSize: 10881,
101
101
  categories: [
102
102
  'web',
103
103
  ],
@@ -118,8 +118,8 @@ export const grammars = [
118
118
  licenseUrl: 'https://raw.githubusercontent.com/withastro/language-tools/main/LICENSE',
119
119
  name: 'astro',
120
120
  scopeName: 'source.astro',
121
- sha: '942f913bca2742305f8848583e9db6e91bd9958c',
122
- source: 'https://github.com/withastro/language-tools/blob/942f913bca2742305f8848583e9db6e91bd9958c/packages/vscode/syntaxes/astro.tmLanguage.src.yaml',
121
+ sha: '37434ab5ee2149dd74a7c1e800d8c279a0617912',
122
+ source: 'https://github.com/withastro/language-tools/blob/37434ab5ee2149dd74a7c1e800d8c279a0617912/packages/vscode/syntaxes/astro.tmLanguage.src.yaml',
123
123
  },
124
124
  {
125
125
  byteSize: 5303,
@@ -291,7 +291,7 @@ export const grammars = [
291
291
  source: 'https://github.com/twxs/vs.language.cmake/blob/19b1b8fe2d68d72cf294d0c3c22f0a3fc54f8f6f/syntaxes/CMake.tmLanguage',
292
292
  },
293
293
  {
294
- byteSize: 38394,
294
+ byteSize: 38735,
295
295
  displayName: 'COBOL',
296
296
  embedded: [
297
297
  'sql',
@@ -302,8 +302,8 @@ export const grammars = [
302
302
  licenseUrl: 'https://raw.githubusercontent.com/spgennard/vscode_cobol/main/LICENSE',
303
303
  name: 'cobol',
304
304
  scopeName: 'source.cobol',
305
- sha: 'f06c6efca55e00e561238f509762e73e79179ed8',
306
- source: 'https://github.com/spgennard/vscode_cobol/blob/f06c6efca55e00e561238f509762e73e79179ed8/syntaxes/COBOL.tmLanguage.json',
305
+ sha: 'dd7bf2bfbcab03080da874c61cfc44b326842949',
306
+ source: 'https://github.com/spgennard/vscode_cobol/blob/dd7bf2bfbcab03080da874c61cfc44b326842949/syntaxes/COBOL.tmLanguage.json',
307
307
  },
308
308
  {
309
309
  aliases: [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "1.0.4",
4
+ "version": "1.0.6",
5
5
  "packageManager": "pnpm@8.11.0",
6
6
  "description": "Collecton of TextMate grammars in JSON",
7
7
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",