tm-grammars 1.21.8 → 1.21.10
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 +3 -3
- package/grammars/abap.json +9 -5
- package/grammars/hcl.json +1 -1
- package/grammars/vue.json +36 -0
- package/index.js +14 -14
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ import { grammars } from 'tm-grammars'
|
|
|
20
20
|
## Grammars
|
|
21
21
|
| Name | Alias | Source | License | Deps On | File Size |
|
|
22
22
|
| ---- | ----- | ------ | ------- | ------- | --------- |
|
|
23
|
-
| `abap` | | [pvl/abap.tmbundle](https://github.com/pvl/abap.tmbundle/blob/
|
|
23
|
+
| `abap` | | [pvl/abap.tmbundle](https://github.com/pvl/abap.tmbundle/blob/92e17e62a9449d2a6f87bfb30b4f920986c24018/Syntaxes/ABAP.tmLanguage) | | | 15.44 kB |
|
|
24
24
|
| `actionscript-3` | | [BowlerHatLLC/vscode-as3mxml](https://github.com/BowlerHatLLC/vscode-as3mxml/blob/77075cd9a439ecd87815cecb1f1c2bb1ff44a2e5/distribution/src/assembly/syntaxes/AS3.tmLanguage) | [Apache-2.0](https://raw.githubusercontent.com/BowlerHatLLC/vscode-as3mxml/main/LICENSE) | | 13.64 kB |
|
|
25
25
|
| `ada` | | [AdaCore/ada_language_server](https://github.com/AdaCore/ada_language_server/blob/75c0d0c22b3f3dbf559946331c7aca6fc5b84065/integration/vscode/ada/advanced/ada.tmLanguage.json) | [GPL-3.0](https://raw.githubusercontent.com/AdaCore/ada_language_server/master/LICENSE) | | 45.71 kB |
|
|
26
26
|
| `angular-html` | | [onivim/vscode-exthost](https://github.com/onivim/vscode-exthost/blob/cfc2a2212de9ea10943af58ebd1817a5ad196463/extensions/html/syntaxes/html-derivative.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/onivim/vscode-exthost/master/LICENSE.txt) | `html` `angular-expression` `angular-let-declaration` `angular-template` `angular-template-blocks` | 772.00 B |
|
|
@@ -101,7 +101,7 @@ import { grammars } from 'tm-grammars'
|
|
|
101
101
|
| `handlebars` | `hbs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/45db52ba6bd211cecd03897caee0531350071721/extensions/handlebars/syntaxes/Handlebars.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `html` `css` `javascript` `yaml` | 11.47 kB |
|
|
102
102
|
| `haskell` | `hs` | [octref/language-haskell](https://github.com/octref/language-haskell/blob/ae87982aac2bf5cf6334c067e49c5ec8fc08b871/syntaxes/haskell.json) | [BSD-3-Clause](https://raw.githubusercontent.com/octref/language-haskell/master/LICENSE) | | 39.81 kB |
|
|
103
103
|
| `haxe` | | [vshaxe/haxe-TmLanguage](https://github.com/vshaxe/haxe-TmLanguage/blob/ddad8b4c6d0781ac20be0481174ec1be772c5da5/haxe.YAML-tmLanguage) | [MIT](https://raw.githubusercontent.com/vshaxe/haxe-TmLanguage/master/LICENSE.md) | | 33.49 kB |
|
|
104
|
-
| `hcl` | | [hashicorp/syntax](https://github.com/hashicorp/syntax/blob/
|
|
104
|
+
| `hcl` | | [hashicorp/syntax](https://github.com/hashicorp/syntax/blob/2ec7cd10c9d6134e836bf85eb0f5aa010512bff4/syntaxes/hcl.tmGrammar.json) | [MPL-2.0](https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE) | | 11.19 kB |
|
|
105
105
|
| `hjson` | | [hjson/textmate-hjson](https://github.com/hjson/textmate-hjson/blob/196075169c9a9f9ab04c8e7423b67ea72c976237/Syntaxes/Hjson.tmLanguage) | [MIT](https://raw.githubusercontent.com/hjson/textmate-hjson/master/LICENSE) | | 11.53 kB |
|
|
106
106
|
| `hlsl` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/efa12b2f49ec6ee84ed1e7bbd948808efec452f6/extensions/hlsl/syntaxes/hlsl.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 7.09 kB |
|
|
107
107
|
| `html` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/45324363153075dab0482312ae24d8c068d81e4f/extensions/html/syntaxes/html.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `javascript` `css` | 56.55 kB |
|
|
@@ -224,7 +224,7 @@ import { grammars } from 'tm-grammars'
|
|
|
224
224
|
| `verilog` | | [mshr-h/vscode-verilog-hdl-support](https://github.com/mshr-h/vscode-verilog-hdl-support/blob/26cc4a3ec01b12aea5b8ffb7edeee3373eb71d77/syntaxes/verilog.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mshr-h/vscode-verilog-hdl-support/main/LICENSE) | | 5.56 kB |
|
|
225
225
|
| `vhdl` | | [jonasjj/awesome-vhdl](https://github.com/jonasjj/awesome-vhdl/blob/0d0a052da44f64382314ba90a321a83022e5c11a/syntaxes/vhdl.tmLanguage) | [MIT](https://raw.githubusercontent.com/jonasjj/awesome-vhdl/master/LICENSE.txt) | | 22.36 kB |
|
|
226
226
|
| `viml` | `vim` `vimscript` | [dunstontc/viml](https://github.com/dunstontc/viml/blob/8762570fc7d6f1009a3c93efd2a337330d88b88e/syntaxes/viml.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/dunstontc/viml/master/LICENSE) | | 20.16 kB |
|
|
227
|
-
| `vue` | | [vuejs/language-tools](https://github.com/vuejs/language-tools/blob/
|
|
227
|
+
| `vue` | | [vuejs/language-tools](https://github.com/vuejs/language-tools/blob/5f11c44dce3f49e2c5f0dae1f93d892164a1980e/extensions/vscode/syntaxes/vue.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/vuejs/language-tools/master/LICENSE) | `html` `markdown` `pug` `stylus` `sass` `css` `scss` `less` `javascript` `typescript` `jsx` `tsx` `coffee` `json` `jsonc` `json5` `yaml` `toml` `graphql` `html-derivative` `markdown-vue` `vue-directives` `vue-interpolations` `vue-sfc-style-variable-injection` | 17.44 kB |
|
|
228
228
|
| `vue-html` | | [vuejs/vetur](https://github.com/vuejs/vetur/blob/53ee52746b1f26f44391c3764bc7bd06d4ddaa46/syntaxes/vue-html.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/vuejs/vetur/master/LICENSE) | `vue` `javascript` | 8.06 kB |
|
|
229
229
|
| `vyper` | `vy` | [tintinweb/vscode-vyper](https://github.com/tintinweb/vscode-vyper/blob/3df08ea46fc7df1a5e7f35365e615624849d1c1b/syntaxes/vyper.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/tintinweb/vscode-vyper/master/LICENSE) | | 74.01 kB |
|
|
230
230
|
| `wasm` | | [wasmerio/vscode-wasm](https://github.com/wasmerio/vscode-wasm/blob/9d0ace1ff113f4a3e95797675039cd94ec257078/syntaxes/wat.json) | [MIT](https://raw.githubusercontent.com/wasmerio/vscode-wasm/master/LICENSE) | | 15.02 kB |
|
package/grammars/abap.json
CHANGED
|
@@ -61,13 +61,17 @@
|
|
|
61
61
|
"match": "({ )|( })",
|
|
62
62
|
"name": "constant.character.escape"
|
|
63
63
|
},
|
|
64
|
-
{
|
|
65
|
-
"match": "(?<={ ).*?(?= })",
|
|
66
|
-
"name": "variable.other.abap"
|
|
67
|
-
},
|
|
68
64
|
{
|
|
69
65
|
"match": "\\\\\\|",
|
|
70
66
|
"name": "constant.character.escape.abap"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"match": "(?i)(?<=\\s)(align|alpha|case|country|currency|date|decimals|exponent|number|pad|sign|style|time|timestamp|timezone|width|xsd|zero)(?=\\s=)",
|
|
70
|
+
"name": "entity.name.property.stringtemplate.abap"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"match": "(?i)(?<==\\s)(center|engineering|environment|in|iso|left|leftplus|leftspace|lower|no|out|raw|right|rightplus|rightspace|scale_preserving|scale_preserving_scientific|scientific|scientific_with_leading_zero|sign_as_postfix|simple|space|upper|user|yes)(?=\\s)",
|
|
74
|
+
"name": "entity.value.property.stringtemplate.abap"
|
|
71
75
|
}
|
|
72
76
|
]
|
|
73
77
|
},
|
|
@@ -318,7 +322,7 @@
|
|
|
318
322
|
"name": "keyword.control.simple.abap"
|
|
319
323
|
},
|
|
320
324
|
"main_keywords": {
|
|
321
|
-
"match": "(?i)(?<=^|\\s)(abap-source|abstract|accept|accepting|access|according|action|activation|actual|add|add-corresponding|adjacent|after|alias|aliases|
|
|
325
|
+
"match": "(?i)(?<=^|\\s)(abap-source|abstract|accept|accepting|access|according|action|activation|actual|add|add-corresponding|adjacent|after|alias|aliases|all|allocate|amdp|analysis|analyzer|append|appending|application|archive|area|arithmetic|as|ascending|assert|assign|assigned|assigning|association|asynchronous|at|attributes|authority|authority-check|authorization|auto|back|background|backward|badi|base|before|begin|behavior|between|binary|bit|blank|blanks|block|blocks|bound|boundaries|bounds|boxed|break|break-point|buffer|by|bypassing|byte|byte-order|call|calling|cast|casting|cds|centered|change|changing|channels|char-to-hex|character|check|checkbox|cid|circular|class|class-data|class-events|class-method|class-methods|class-pool|cleanup|clear|client|clients|clock|clone|close|cnt|code|collect|color|column|comment|comments|commit|common|communication|comparing|component|components|compression|compute|concatenate|cond|condense|condition|connection|constant|constants|context|contexts|control|controls|conv|conversion|convert|copy|corresponding|count|country|cover|create|currency|current|cursor|customer-function|data|database|datainfo|dataset|date|daylight|ddl|deallocate|decimals|declarations|deep|default|deferred|define|delete|deleting|demand|descending|describe|destination|detail|determine|dialog|did|directory|discarding|display|display-mode|distance|distinct|divide|divide-corresponding|dummy|duplicate|duplicates|duration|during|dynpro|edit|editor-call|empty|enabled|enabling|encoding|end|end-enhancement-section|end-of-definition|end-of-page|end-of-selection|end-test-injection|end-test-seam|endenhancement|endexec|endfunction|endian|ending|endmodule|endprovide|endselect|endwith|enhancement|enhancement-point|enhancement-section|enhancements|entities|entity|entries|entry|enum|equiv|errors|escape|escaping|event|events|exact|except|exception|exception-table|exceptions|excluding|exec|execute|exists|exit|exit-command|expanding|explicit|exponent|export|exporting|extended|extension|extract|fail|failed|features|fetch|field|field-groups|field-symbols|fields|file|fill|filter|filters|final|find|first|first-line|fixed-point|flush|following|for|format|forward|found|frame|frames|free|from|full|function|function-pool|generate|get|giving|graph|group|groups|handle|handler|hashed|having|header|headers|heading|help-id|help-request|hide|hint|hold|hotspot|icon|id|identification|identifier|ignore|ignoring|immediately|implemented|implicit|import|importing|in|inactive|incl|include|includes|including|increment|index|index-line|indicators|infotypes|inheriting|init|initial|initialization|inner|input|insert|instance|instances|intensified|interface|interface-pool|interfaces|internal|intervals|into|inverse|inverted-date|is|job|join|keep|keeping|kernel|key|keys|keywords|kind|language|last|late|layout|leading|leave|left|left-justified|legacy|length|let|level|levels|like|line|line-count|line-selection|line-size|linefeed|lines|link|list|list-processing|listbox|load|load-of-program|local|locale|lock|locks|log-point|logical|lower|mapped|mapping|margin|mark|mask|match|matchcode|maximum|members|memory|mesh|message|message-id|messages|messaging|method|methods|mode|modif|modifier|modify|module|move|move-corresponding|multiply|multiply-corresponding|name|nametab|native|nested|nesting|new|new-line|new-page|new-section|next|no-display|no-extension|no-gap|no-gaps|no-grouping|no-heading|no-scrolling|no-sign|no-title|no-zero|nodes|non-unicode|non-unique|number|object|objects|objmgr|obligatory|occurence|occurences|occurrence|occurrences|occurs|of|offset|on|only|open|optional|option|options|order|others|out|outer|output|output-length|overflow|overlay|pack|package|padding|page|parameter|parameter-table|parameters|part|partially|pcre|perform|performing|permissions|pf-status|places|pool|position|pragmas|preceding|precompiled|preferred|preserving|primary|print|print-control|private|privileged|procedure|process|program|property|protected|provide|push|pushbutton|put|query|queue-only|queueonly|quickinfo|radiobutton|raising|range|ranges|read|read-only|receive|received|receiving|redefinition|reduce|ref|reference|refresh|regex|reject|renaming|replace|replacement|replacing|report|reported|request|requested|required|reserve|reset|resolution|respecting|response|restore|result|results|resumable|resume|retry|return|returning|right|right-justified|rollback|rows|rp-provide-from-last|run|sap|sap-spool|save|saving|scan|screen|scroll|scroll-boundary|scrolling|search|seconds|section|select|select-options|selection|selection-screen|selection-set|selection-sets|selection-table|selections|send|separate|separated|session|set|shared|shift|shortdump|shortdump-id|sign|simple|simulation|single|size|skip|skipping|smart|some|sort|sortable|sorted|source|specified|split|spool|spots|sql|stable|stamp|standard|start-of-selection|starting|state|statement|statements|static|statics|statusinfo|step|step-loop|stop|structure|structures|style|subkey|submatches|submit|subroutine|subscreen|substring|subtract|subtract-corresponding|suffix|sum|summary|supplied|supply|suppress|switch|symbol|syntax-check|syntax-trace|system-call|system-exceptions|tab|tabbed|table|tables|tableview|tabstrip|target|task|tasks|test|test-injection|test-seam|testing|text|textpool|then|throw|time|times|title|titlebar|to|tokens|top-lines|top-of-page|trace-file|trace-table|trailing|transaction|transfer|transformation|translate|transporting|trmac|truncate|truncation|type|type-pool|type-pools|types|uline|unassign|unbounded|under|unicode|union|unique|unit|unix|unpack|until|unwind|up|update|upper|user|user-command|using|utf-8|uuid|valid|validate|value|value-request|values|vary|varying|version|via|visible|wait|when|where|window|windows|with|with-heading|with-title|without|word|work|workspace|write|xml|zone)(?=\\s|\\.|:|,)",
|
|
322
326
|
"name": "keyword.control.simple.abap"
|
|
323
327
|
},
|
|
324
328
|
"operators": {
|
package/grammars/hcl.json
CHANGED
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
}
|
|
81
81
|
},
|
|
82
82
|
"block": {
|
|
83
|
-
"begin": "([\\w][\\-\\w]*)(([^\\S\\r\\n]
|
|
83
|
+
"begin": "([\\w][\\-\\w]*)(([^\\S\\r\\n]+([\\w][\\-_\\w]*|\\\"[^\\\"\\r\\n]*\\\"))*)[^\\S\\r\\n]*(\\{)",
|
|
84
84
|
"beginCaptures": {
|
|
85
85
|
"1": {
|
|
86
86
|
"patterns": [
|
package/grammars/vue.json
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
"displayName": "Vue",
|
|
3
3
|
"name": "vue",
|
|
4
4
|
"patterns": [
|
|
5
|
+
{
|
|
6
|
+
"include": "#vue-comments"
|
|
7
|
+
},
|
|
5
8
|
{
|
|
6
9
|
"include": "text.html.basic#comment"
|
|
7
10
|
},
|
|
@@ -967,6 +970,39 @@
|
|
|
967
970
|
}
|
|
968
971
|
]
|
|
969
972
|
},
|
|
973
|
+
"vue-comments": {
|
|
974
|
+
"patterns": [
|
|
975
|
+
{
|
|
976
|
+
"include": "#vue-comments-key-value"
|
|
977
|
+
}
|
|
978
|
+
]
|
|
979
|
+
},
|
|
980
|
+
"vue-comments-key-value": {
|
|
981
|
+
"begin": "(<!--)\\s*(@)([\\w$]+)(?=\\s)",
|
|
982
|
+
"beginCaptures": {
|
|
983
|
+
"1": {
|
|
984
|
+
"name": "punctuation.definition.comment.vue"
|
|
985
|
+
},
|
|
986
|
+
"2": {
|
|
987
|
+
"name": "punctuation.definition.block.tag.comment.vue"
|
|
988
|
+
},
|
|
989
|
+
"3": {
|
|
990
|
+
"name": "storage.type.class.comment.vue"
|
|
991
|
+
}
|
|
992
|
+
},
|
|
993
|
+
"end": "(-->)",
|
|
994
|
+
"endCaptures": {
|
|
995
|
+
"1": {
|
|
996
|
+
"name": "punctuation.definition.comment.vue"
|
|
997
|
+
}
|
|
998
|
+
},
|
|
999
|
+
"name": "comment.block.vue",
|
|
1000
|
+
"patterns": [
|
|
1001
|
+
{
|
|
1002
|
+
"include": "source.json#value"
|
|
1003
|
+
}
|
|
1004
|
+
]
|
|
1005
|
+
},
|
|
970
1006
|
"vue-directives": {
|
|
971
1007
|
"patterns": [
|
|
972
1008
|
{
|
package/index.js
CHANGED
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
|
|
6
6
|
export const grammars = [
|
|
7
7
|
{
|
|
8
|
-
byteSize:
|
|
8
|
+
byteSize: 15815,
|
|
9
9
|
displayName: 'ABAP',
|
|
10
|
-
hash: '
|
|
11
|
-
lastUpdate: '2024-
|
|
10
|
+
hash: '3eD0RLf8LE',
|
|
11
|
+
lastUpdate: '2024-12-25T10:52:53Z',
|
|
12
12
|
name: 'abap',
|
|
13
13
|
scopeName: 'source.abap',
|
|
14
|
-
sha: '
|
|
15
|
-
source: 'https://github.com/pvl/abap.tmbundle/blob/
|
|
14
|
+
sha: '92e17e62a9449d2a6f87bfb30b4f920986c24018',
|
|
15
|
+
source: 'https://github.com/pvl/abap.tmbundle/blob/92e17e62a9449d2a6f87bfb30b4f920986c24018/Syntaxes/ABAP.tmLanguage',
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
byteSize: 13967,
|
|
@@ -1354,14 +1354,14 @@ export const grammars = [
|
|
|
1354
1354
|
{
|
|
1355
1355
|
byteSize: 11454,
|
|
1356
1356
|
displayName: 'HashiCorp HCL',
|
|
1357
|
-
hash: '
|
|
1358
|
-
lastUpdate: '2024-
|
|
1357
|
+
hash: 'GpQf5BLQtX',
|
|
1358
|
+
lastUpdate: '2024-12-20T01:03:46Z',
|
|
1359
1359
|
license: 'MPL-2.0',
|
|
1360
1360
|
licenseUrl: 'https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE',
|
|
1361
1361
|
name: 'hcl',
|
|
1362
1362
|
scopeName: 'source.hcl',
|
|
1363
|
-
sha: '
|
|
1364
|
-
source: 'https://github.com/hashicorp/syntax/blob/
|
|
1363
|
+
sha: '2ec7cd10c9d6134e836bf85eb0f5aa010512bff4',
|
|
1364
|
+
source: 'https://github.com/hashicorp/syntax/blob/2ec7cd10c9d6134e836bf85eb0f5aa010512bff4/syntaxes/hcl.tmGrammar.json',
|
|
1365
1365
|
},
|
|
1366
1366
|
{
|
|
1367
1367
|
byteSize: 11808,
|
|
@@ -3458,7 +3458,7 @@ export const grammars = [
|
|
|
3458
3458
|
source: 'https://github.com/dunstontc/viml/blob/8762570fc7d6f1009a3c93efd2a337330d88b88e/syntaxes/viml.tmLanguage.json',
|
|
3459
3459
|
},
|
|
3460
3460
|
{
|
|
3461
|
-
byteSize:
|
|
3461
|
+
byteSize: 17859,
|
|
3462
3462
|
categories: [
|
|
3463
3463
|
'web',
|
|
3464
3464
|
],
|
|
@@ -3489,14 +3489,14 @@ export const grammars = [
|
|
|
3489
3489
|
'vue-interpolations',
|
|
3490
3490
|
'vue-sfc-style-variable-injection',
|
|
3491
3491
|
],
|
|
3492
|
-
hash: '
|
|
3493
|
-
lastUpdate: '2024-
|
|
3492
|
+
hash: 'jHCVczJ3x8',
|
|
3493
|
+
lastUpdate: '2024-12-20T20:08:46Z',
|
|
3494
3494
|
license: 'MIT',
|
|
3495
3495
|
licenseUrl: 'https://raw.githubusercontent.com/vuejs/language-tools/master/LICENSE',
|
|
3496
3496
|
name: 'vue',
|
|
3497
3497
|
scopeName: 'source.vue',
|
|
3498
|
-
sha: '
|
|
3499
|
-
source: 'https://github.com/vuejs/language-tools/blob/
|
|
3498
|
+
sha: '5f11c44dce3f49e2c5f0dae1f93d892164a1980e',
|
|
3499
|
+
source: 'https://github.com/vuejs/language-tools/blob/5f11c44dce3f49e2c5f0dae1f93d892164a1980e/extensions/vscode/syntaxes/vue.tmLanguage.json',
|
|
3500
3500
|
},
|
|
3501
3501
|
{
|
|
3502
3502
|
byteSize: 8251,
|