tm-grammars 1.18.7 → 1.18.9
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 +2 -2
- package/grammars/go.json +94 -2
- package/grammars/nextflow.json +159 -175
- package/index.js +15 -15
- 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/ae37b62b547c4af5fb925cd97feaaeab69603ca2/Syntaxes/ABAP.tmLanguage) | | | 15.22 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 |
|
|
@@ -91,7 +91,7 @@ import { grammars } from 'tm-grammars'
|
|
|
91
91
|
| `glimmer-ts` | `gts` | [lifeart/vsc-ember-syntax](https://github.com/lifeart/vsc-ember-syntax/blob/76fce7b360ce09a78789e7d5217b8955d1a5d95f/syntaxes/source.gts.json) | [MIT](https://raw.githubusercontent.com/lifeart/vsc-ember-syntax/master/LICENSE) | `typescript` `css` `javascript` `html` | 19.04 kB |
|
|
92
92
|
| `glsl` | | [polym0rph/GLSL.tmbundle](https://github.com/polym0rph/GLSL.tmbundle/blob/6998d3bbd204e26746a5ca580cda4c650b9057b1/Syntaxes/GLSL.tmLanguage) | | `c` | 3.69 kB |
|
|
93
93
|
| `gnuplot` | | [MarioSchwalbe/vscode-gnuplot](https://github.com/MarioSchwalbe/vscode-gnuplot/blob/c62c1a61c9b6b4658b43d76c397dc2ad43523b6a/syntaxes/gnuplot.tmLanguage) | [GPL-3.0](https://raw.githubusercontent.com/MarioSchwalbe/vscode-gnuplot/master/LICENSE) | | 13.83 kB |
|
|
94
|
-
| `go` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/
|
|
94
|
+
| `go` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/0561ca03c895239131a526d8731da0e53027167c/extensions/go/syntaxes/go.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 45.72 kB |
|
|
95
95
|
| `graphql` | `gql` | [prisma-labs/vscode-graphql](https://github.com/prisma-labs/vscode-graphql/blob/4569aef2364b42b6acd8188e4a6ca9b0ba3c6a1d/grammars/graphql.json) | [MIT](https://raw.githubusercontent.com/graphql/vscode-graphql/master/LICENSE) | `javascript` `typescript` `jsx` `tsx` | 17.10 kB |
|
|
96
96
|
| `groovy` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/8fdf170a0850c1cc027382f31650aaf300d3ae2a/extensions/groovy/syntaxes/groovy.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 18.52 kB |
|
|
97
97
|
| `hack` | | [slackhq/vscode-hack](https://github.com/slackhq/vscode-hack/blob/b997653188b127a7261b0d26e7808217f3eb47bb/syntaxes/hack.json) | [MIT](https://raw.githubusercontent.com/slackhq/vscode-hack/master/LICENSE.md) | `html` `sql` | 80.38 kB |
|
|
@@ -142,7 +142,7 @@ import { grammars } from 'tm-grammars'
|
|
|
142
142
|
| `mojo` | | [modularml/mojo-syntax](https://github.com/modularml/mojo-syntax/blob/46eccdaeda2b1587e9b82808cdb35670f359d16d/syntaxes/mojo.syntax.json) | [MIT](https://raw.githubusercontent.com/modularml/mojo-syntax/main/LICENSE) | | 68.68 kB |
|
|
143
143
|
| `move` | | [damirka/move-syntax](https://github.com/damirka/move-syntax/blob/4b04e9d614901097ffc0663fef40bd3e5d87779e/syntaxes/move.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/damirka/move-syntax/main/LICENSE) | | 19.27 kB |
|
|
144
144
|
| `narrat` | `nar` | [liana-p/narrat-syntax-highlighting-vscode](https://github.com/liana-p/narrat-syntax-highlighting-vscode/blob/00d4b410338fc50ca0ce77a1f7e873c1fb66d376/syntaxes/narrat.tmLanguage.yaml) | [MIT](https://raw.githubusercontent.com/liana-p/narrat-syntax-highlighting-vscode/main/LICENSE) | | 3.39 kB |
|
|
145
|
-
| `nextflow` | `nf` | [nextflow-io/vscode-language-nextflow](https://github.com/nextflow-io/vscode-language-nextflow/blob/
|
|
145
|
+
| `nextflow` | `nf` | [nextflow-io/vscode-language-nextflow](https://github.com/nextflow-io/vscode-language-nextflow/blob/9f77dfa030f7d6d057cc8745f8b8bcf366548048/syntaxes/nextflow.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nextflow-io/vscode-language-nextflow/master/LICENSE.md) | | 3.67 kB |
|
|
146
146
|
| `nginx` | | [hangxingliu/vscode-nginx-conf-hint](https://github.com/hangxingliu/vscode-nginx-conf-hint/blob/49159c02fd09dce264ded7802c9499a0f09646f5/src/syntax/nginx.tmLanguage) | [GPL-3.0](https://raw.githubusercontent.com/hangxingliu/vscode-nginx-conf-hint/main/LICENSE) | `lua` | 34.10 kB |
|
|
147
147
|
| `nim` | | [pragmagic/vscode-nim](https://github.com/pragmagic/vscode-nim/blob/0272a0544ddf147fde98f8a8f2b624b7dcb19eb3/syntaxes/nim.json) | [NOASSERTION](https://raw.githubusercontent.com/pragmagic/vscode-nim/master/LICENSE) | `c` `html` `xml` `javascript` `css` `glsl` `markdown` | 21.79 kB |
|
|
148
148
|
| `nix` | | [nix-community/vscode-nix-ide](https://github.com/nix-community/vscode-nix-ide/blob/cd420d0bcea26cf1cf650f47c738bd1b6658a80c/syntaxes/nix.YAML-tmLanguage) | [MIT](https://raw.githubusercontent.com/nix-community/vscode-nix-ide/main/LICENSE) | | 14.22 kB |
|
package/grammars/abap.json
CHANGED
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
],
|
|
253
253
|
"repository": {
|
|
254
254
|
"abap_constants": {
|
|
255
|
-
"match": "(?i)(?<=\\s)(initial|null
|
|
255
|
+
"match": "(?i)(?<=\\s)(initial|null|@?space|@?abap_true|@?abap_false|@?abap_undefined|table_line|%_final|%_hints|%_predefined|col_background|col_group|col_heading|col_key|col_negative|col_normal|col_positive|col_total|adabas|as400|db2|db6|hdb|oracle|sybase|mssqlnt|pos_low|pos_high)(?=\\s|\\.|,)",
|
|
256
256
|
"name": "constant.language.abap"
|
|
257
257
|
},
|
|
258
258
|
"abaptypes": {
|
|
@@ -318,7 +318,7 @@
|
|
|
318
318
|
"name": "keyword.control.simple.abap"
|
|
319
319
|
},
|
|
320
320
|
"main_keywords": {
|
|
321
|
-
"match": "(?i)(?<=^|\\s)(abap-source|abstract|accept|accepting|access|according|action|activation|actual|add|add-corresponding|adjacent|alias|aliases|align|all|allocate|alpha|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|center|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|engineering|enhancement|enhancement-point|enhancement-section|enhancements|entities|entity|entries|entry|enum|environment|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|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|iso|job|join|keep|keeping|kernel|key|keys|keywords|kind|language|last|late|layout|leading|leave|left|left-justified|leftplus|leftspace|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|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|pad|padding|page|parameter|parameter-table|parameters|part|partially|pcre|perform|performing|permissions|pf-status|places|pool|position|pragmas|
|
|
321
|
+
"match": "(?i)(?<=^|\\s)(abap-source|abstract|accept|accepting|access|according|action|activation|actual|add|add-corresponding|adjacent|after|alias|aliases|align|all|allocate|alpha|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|center|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|engineering|enhancement|enhancement-point|enhancement-section|enhancements|entities|entity|entries|entry|enum|environment|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|iso|job|join|keep|keeping|kernel|key|keys|keywords|kind|language|last|late|layout|leading|leave|left|left-justified|leftplus|leftspace|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|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|pad|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|rightplus|rightspace|rollback|rows|rp-provide-from-last|run|sap|sap-spool|save|saving|scale_preserving|scale_preserving_scientific|scan|scientific|scientific_with_leading_zero|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|sign_as_postfix|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|timestamp|timezone|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|width|window|windows|with|with-heading|with-title|without|word|work|workspace|write|xml|xsd|yes|zero|zone)(?=\\s|\\.|:|,)",
|
|
322
322
|
"name": "keyword.control.simple.abap"
|
|
323
323
|
},
|
|
324
324
|
"operators": {
|
package/grammars/go.json
CHANGED
|
@@ -526,7 +526,53 @@
|
|
|
526
526
|
"match": "(?:((?:(?:\\b\\w+\\,\\s*)+)?\\b\\w+)(?:\\s+)((?:(?:\\s*(?:[\\*\\[\\]]+)?(?:<-\\s*)?\\bchan\\b(?:\\s*<-)?\\s*)+)?(?:(?:(?:[\\w\\[\\]\\.\\*]+)?(?:(?:\\bfunc\\b\\((?:[^)]+)?\\))(?:(?:\\s*(?:[\\*\\[\\]]+)?(?:<-\\s*)?\\bchan\\b(?:\\s*<-)?\\s*)+)?(?:\\s*))+(?:(?:(?:[\\w\\*\\.\\[\\]]+)|(?:\\((?:[^)]+)?\\))))?)|(?:(?:[\\[\\]\\*]+)?[\\w\\*\\.]+(?:\\[(?:[^\\]]+)\\])?(?:[\\w\\.\\*]+)?)+)))"
|
|
527
527
|
},
|
|
528
528
|
{
|
|
529
|
-
"
|
|
529
|
+
"begin": "(?:([\\w\\.\\*]+)?(\\[))",
|
|
530
|
+
"beginCaptures": {
|
|
531
|
+
"1": {
|
|
532
|
+
"patterns": [
|
|
533
|
+
{
|
|
534
|
+
"include": "#type-declarations"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"match": "(?:\\w+)",
|
|
538
|
+
"name": "entity.name.type.go"
|
|
539
|
+
}
|
|
540
|
+
]
|
|
541
|
+
},
|
|
542
|
+
"2": {
|
|
543
|
+
"name": "punctuation.definition.begin.bracket.square.go"
|
|
544
|
+
}
|
|
545
|
+
},
|
|
546
|
+
"end": "\\]",
|
|
547
|
+
"endCaptures": {
|
|
548
|
+
"0": {
|
|
549
|
+
"name": "punctuation.definition.end.bracket.square.go"
|
|
550
|
+
}
|
|
551
|
+
},
|
|
552
|
+
"patterns": [
|
|
553
|
+
{
|
|
554
|
+
"include": "#generic_param_types"
|
|
555
|
+
}
|
|
556
|
+
]
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"begin": "\\(",
|
|
560
|
+
"beginCaptures": {
|
|
561
|
+
"0": {
|
|
562
|
+
"name": "punctuation.definition.begin.bracket.round.go"
|
|
563
|
+
}
|
|
564
|
+
},
|
|
565
|
+
"end": "\\)",
|
|
566
|
+
"endCaptures": {
|
|
567
|
+
"0": {
|
|
568
|
+
"name": "punctuation.definition.end.bracket.round.go"
|
|
569
|
+
}
|
|
570
|
+
},
|
|
571
|
+
"patterns": [
|
|
572
|
+
{
|
|
573
|
+
"include": "#function_param_types"
|
|
574
|
+
}
|
|
575
|
+
]
|
|
530
576
|
},
|
|
531
577
|
{
|
|
532
578
|
"captures": {
|
|
@@ -735,7 +781,53 @@
|
|
|
735
781
|
"match": "(?:((?:(?:\\b\\w+\\,\\s*)+)?\\b\\w+)(?:\\s+)((?:(?:\\s*(?:[\\*\\[\\]]+)?(?:<-\\s*)?\\bchan\\b(?:\\s*<-)?\\s*)+)?(?:(?:(?:[\\w\\[\\]\\.\\*]+)?(?:(?:\\bfunc\\b\\((?:[^)]+)?\\))(?:(?:\\s*(?:[\\*\\[\\]]+)?(?:<-\\s*)?\\bchan\\b(?:\\s*<-)?\\s*)+)?(?:\\s*))+(?:(?:(?:[\\w\\*\\.]+)|(?:\\((?:[^)]+)?\\))))?)|(?:(?:(?:[\\w\\*\\.\\~]+)|(?:\\[(?:(?:[\\w\\.\\*]+)?(?:\\[(?:[^\\]]+)?\\])?(?:\\,\\s+)?)+\\]))(?:[\\w\\.\\*]+)?)+)))"
|
|
736
782
|
},
|
|
737
783
|
{
|
|
738
|
-
"
|
|
784
|
+
"begin": "(?:([\\w\\.\\*]+)?(\\[))",
|
|
785
|
+
"beginCaptures": {
|
|
786
|
+
"1": {
|
|
787
|
+
"patterns": [
|
|
788
|
+
{
|
|
789
|
+
"include": "#type-declarations"
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
"match": "(?:\\w+)",
|
|
793
|
+
"name": "entity.name.type.go"
|
|
794
|
+
}
|
|
795
|
+
]
|
|
796
|
+
},
|
|
797
|
+
"2": {
|
|
798
|
+
"name": "punctuation.definition.begin.bracket.square.go"
|
|
799
|
+
}
|
|
800
|
+
},
|
|
801
|
+
"end": "\\]",
|
|
802
|
+
"endCaptures": {
|
|
803
|
+
"0": {
|
|
804
|
+
"name": "punctuation.definition.end.bracket.square.go"
|
|
805
|
+
}
|
|
806
|
+
},
|
|
807
|
+
"patterns": [
|
|
808
|
+
{
|
|
809
|
+
"include": "#generic_param_types"
|
|
810
|
+
}
|
|
811
|
+
]
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
"begin": "\\(",
|
|
815
|
+
"beginCaptures": {
|
|
816
|
+
"0": {
|
|
817
|
+
"name": "punctuation.definition.begin.bracket.round.go"
|
|
818
|
+
}
|
|
819
|
+
},
|
|
820
|
+
"end": "\\)",
|
|
821
|
+
"endCaptures": {
|
|
822
|
+
"0": {
|
|
823
|
+
"name": "punctuation.definition.end.bracket.round.go"
|
|
824
|
+
}
|
|
825
|
+
},
|
|
826
|
+
"patterns": [
|
|
827
|
+
{
|
|
828
|
+
"include": "#function_param_types"
|
|
829
|
+
}
|
|
830
|
+
]
|
|
739
831
|
},
|
|
740
832
|
{
|
|
741
833
|
"captures": {
|
package/grammars/nextflow.json
CHANGED
|
@@ -3,153 +3,230 @@
|
|
|
3
3
|
"name": "nextflow",
|
|
4
4
|
"patterns": [
|
|
5
5
|
{
|
|
6
|
-
"include": "#
|
|
6
|
+
"include": "#nextflow"
|
|
7
7
|
}
|
|
8
8
|
],
|
|
9
9
|
"repository": {
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"name": "
|
|
10
|
+
"enum-def": {
|
|
11
|
+
"begin": "^\\s*(enum)\\s+(\\w+)\\s*{",
|
|
12
|
+
"beginCaptures": {
|
|
13
|
+
"1": {
|
|
14
|
+
"name": "keyword.nextflow"
|
|
15
|
+
},
|
|
16
|
+
"2": {
|
|
17
|
+
"name": "storage.type.groovy"
|
|
15
18
|
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"include-statement": {
|
|
19
|
+
},
|
|
20
|
+
"end": "}",
|
|
19
21
|
"patterns": [
|
|
20
22
|
{
|
|
21
|
-
"
|
|
22
|
-
"name": "keyword.nextflow"
|
|
23
|
+
"include": "source.nextflow-groovy#comments"
|
|
23
24
|
},
|
|
24
25
|
{
|
|
25
|
-
"
|
|
26
|
-
"name": "keyword.nextflow"
|
|
26
|
+
"include": "#enum-values"
|
|
27
27
|
}
|
|
28
28
|
]
|
|
29
29
|
},
|
|
30
|
-
"
|
|
30
|
+
"enum-values": {
|
|
31
31
|
"patterns": [
|
|
32
32
|
{
|
|
33
|
-
"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"include": "#workflow-def"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"include": "#code-block"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"include": "#include-statement"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"include": "#implicit-variables"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"begin": "(\\w*\\()",
|
|
33
|
+
"begin": "(?<=;|^)\\s*\\b([A-Z0-9_]+)(?=\\s*(?:,|}|\\(|$))",
|
|
49
34
|
"beginCaptures": {
|
|
50
35
|
"1": {
|
|
51
|
-
"
|
|
52
|
-
{
|
|
53
|
-
"include": "source.nextflow-groovy"
|
|
54
|
-
}
|
|
55
|
-
]
|
|
36
|
+
"name": "constant.enum.name.groovy"
|
|
56
37
|
}
|
|
57
38
|
},
|
|
58
|
-
"
|
|
59
|
-
"end": "\\)",
|
|
39
|
+
"end": ",|(?=})|^(?!\\s*\\w+\\s*(?:,|$))",
|
|
60
40
|
"patterns": [
|
|
61
41
|
{
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
42
|
+
"begin": "\\(",
|
|
43
|
+
"end": "\\)",
|
|
44
|
+
"name": "meta.enum.value.groovy",
|
|
45
|
+
"patterns": [
|
|
46
|
+
{
|
|
47
|
+
"match": ",",
|
|
48
|
+
"name": "punctuation.definition.seperator.parameter.groovy"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"include": "#groovy-code"
|
|
52
|
+
}
|
|
53
|
+
]
|
|
73
54
|
}
|
|
74
55
|
]
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"include": "source.nextflow-groovy"
|
|
78
56
|
}
|
|
79
57
|
]
|
|
80
58
|
},
|
|
81
|
-
"
|
|
59
|
+
"function-body": {
|
|
82
60
|
"patterns": [
|
|
83
61
|
{
|
|
84
|
-
"match": "
|
|
85
|
-
"name": "entity.name.function.nextflow"
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
"match": "(?:input|output|when|script|shell|exec):",
|
|
89
|
-
"name": "constant.block.nextflow"
|
|
62
|
+
"match": "\\s"
|
|
90
63
|
},
|
|
91
64
|
{
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
65
|
+
"begin": "(?=(?:\\w|<)[^(]*\\s+(?:[\\w$]|<)+\\s*\\()",
|
|
66
|
+
"end": "(?=[\\w$]+\\s*\\()",
|
|
67
|
+
"name": "meta.method.return-type.java",
|
|
68
|
+
"patterns": [
|
|
69
|
+
{
|
|
70
|
+
"include": "source.nextflow-groovy#types"
|
|
71
|
+
}
|
|
72
|
+
]
|
|
97
73
|
},
|
|
98
74
|
{
|
|
99
|
-
"begin": "(\\w*\\(
|
|
75
|
+
"begin": "([\\w$]+)\\s*\\(",
|
|
100
76
|
"beginCaptures": {
|
|
101
77
|
"1": {
|
|
78
|
+
"name": "entity.name.function.java"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"end": "\\)",
|
|
82
|
+
"name": "meta.definition.method.signature.java",
|
|
83
|
+
"patterns": [
|
|
84
|
+
{
|
|
85
|
+
"begin": "(?=[^)])",
|
|
86
|
+
"end": "(?=\\))",
|
|
87
|
+
"name": "meta.method.parameters.groovy",
|
|
102
88
|
"patterns": [
|
|
103
89
|
{
|
|
104
|
-
"
|
|
90
|
+
"begin": "(?=[^,)])",
|
|
91
|
+
"end": "(?=,|\\))",
|
|
92
|
+
"name": "meta.method.parameter.groovy",
|
|
93
|
+
"patterns": [
|
|
94
|
+
{
|
|
95
|
+
"match": ",",
|
|
96
|
+
"name": "punctuation.definition.separator.groovy"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"begin": "=",
|
|
100
|
+
"beginCaptures": {
|
|
101
|
+
"0": {
|
|
102
|
+
"name": "keyword.operator.assignment.groovy"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"end": "(?=,|\\))",
|
|
106
|
+
"name": "meta.parameter.default.groovy",
|
|
107
|
+
"patterns": [
|
|
108
|
+
{
|
|
109
|
+
"include": "source.nextflow-groovy#groovy-code"
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"include": "source.nextflow-groovy#parameters"
|
|
115
|
+
}
|
|
116
|
+
]
|
|
105
117
|
}
|
|
106
118
|
]
|
|
107
119
|
}
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
120
|
+
]
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"begin": "(?=<)",
|
|
124
|
+
"end": "(?=\\s)",
|
|
125
|
+
"name": "meta.method.paramerised-type.groovy",
|
|
111
126
|
"patterns": [
|
|
112
127
|
{
|
|
113
|
-
"
|
|
128
|
+
"begin": "<",
|
|
129
|
+
"end": ">",
|
|
130
|
+
"name": "storage.type.parameters.groovy",
|
|
131
|
+
"patterns": [
|
|
132
|
+
{
|
|
133
|
+
"include": "source.nextflow-groovy#types"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"match": ",",
|
|
137
|
+
"name": "punctuation.definition.seperator.groovy"
|
|
138
|
+
}
|
|
139
|
+
]
|
|
114
140
|
}
|
|
115
141
|
]
|
|
116
142
|
},
|
|
117
143
|
{
|
|
118
144
|
"begin": "{",
|
|
119
|
-
"
|
|
120
|
-
"
|
|
145
|
+
"end": "(?=})",
|
|
146
|
+
"name": "meta.method.body.java",
|
|
121
147
|
"patterns": [
|
|
122
148
|
{
|
|
123
|
-
"include": "#
|
|
149
|
+
"include": "source.nextflow-groovy#groovy-code"
|
|
124
150
|
}
|
|
125
151
|
]
|
|
152
|
+
}
|
|
153
|
+
]
|
|
154
|
+
},
|
|
155
|
+
"function-def": {
|
|
156
|
+
"applyEndPatternLast": 1,
|
|
157
|
+
"begin": "(?:(?<=;|^|{)(?=\\s*(?:(?:def)|(?:(?:(?:boolean|byte|char|short|int|float|long|double)|(?:@?(?:[a-zA-Z]\\w*\\.)*[A-Z]+\\w*))[\\[\\]]*(?:<.*>)?)n)\\s+([^=]+\\s+)?\\w+\\s*\\())",
|
|
158
|
+
"end": "}|(?=[^{])",
|
|
159
|
+
"name": "meta.definition.method.groovy",
|
|
160
|
+
"patterns": [
|
|
161
|
+
{
|
|
162
|
+
"include": "#function-body"
|
|
163
|
+
}
|
|
164
|
+
]
|
|
165
|
+
},
|
|
166
|
+
"include-statement": {
|
|
167
|
+
"patterns": [
|
|
168
|
+
{
|
|
169
|
+
"match": "^\\b(include)\\b",
|
|
170
|
+
"name": "keyword.nextflow"
|
|
126
171
|
},
|
|
127
172
|
{
|
|
128
|
-
"
|
|
173
|
+
"match": "\\b(from)\\b",
|
|
174
|
+
"name": "keyword.nextflow"
|
|
175
|
+
}
|
|
176
|
+
]
|
|
177
|
+
},
|
|
178
|
+
"nextflow": {
|
|
179
|
+
"patterns": [
|
|
180
|
+
{
|
|
181
|
+
"include": "#enum-def"
|
|
129
182
|
},
|
|
130
183
|
{
|
|
131
|
-
"include": "
|
|
184
|
+
"include": "#function-def"
|
|
132
185
|
},
|
|
133
186
|
{
|
|
134
|
-
"include": "
|
|
187
|
+
"include": "#process-def"
|
|
135
188
|
},
|
|
136
189
|
{
|
|
137
|
-
"include": "
|
|
190
|
+
"include": "#workflow-def"
|
|
138
191
|
},
|
|
139
192
|
{
|
|
140
|
-
"include": "
|
|
193
|
+
"include": "#output-def"
|
|
141
194
|
},
|
|
142
195
|
{
|
|
143
|
-
"include": "
|
|
196
|
+
"include": "#include-statement"
|
|
144
197
|
},
|
|
145
198
|
{
|
|
146
|
-
"include": "source.nextflow-groovy
|
|
199
|
+
"include": "source.nextflow-groovy"
|
|
200
|
+
}
|
|
201
|
+
]
|
|
202
|
+
},
|
|
203
|
+
"output-def": {
|
|
204
|
+
"begin": "^\\s*(output)\\s*{",
|
|
205
|
+
"beginCaptures": {
|
|
206
|
+
"1": {
|
|
207
|
+
"name": "keyword.nextflow"
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"end": "}",
|
|
211
|
+
"name": "output.nextflow",
|
|
212
|
+
"patterns": [
|
|
213
|
+
{
|
|
214
|
+
"include": "source.nextflow-groovy#groovy"
|
|
215
|
+
}
|
|
216
|
+
]
|
|
217
|
+
},
|
|
218
|
+
"process-body": {
|
|
219
|
+
"patterns": [
|
|
220
|
+
{
|
|
221
|
+
"match": "(?:input|output|when|script|shell|exec):",
|
|
222
|
+
"name": "constant.block.nextflow"
|
|
147
223
|
},
|
|
148
224
|
{
|
|
149
|
-
"
|
|
225
|
+
"match": "\\b(tuple|path|file|val|stdin|stdout)(\\(|\\s)",
|
|
226
|
+
"name": "entity.name.function.nextflow"
|
|
150
227
|
},
|
|
151
228
|
{
|
|
152
|
-
"include": "source.nextflow-groovy#
|
|
229
|
+
"include": "source.nextflow-groovy#groovy"
|
|
153
230
|
}
|
|
154
231
|
]
|
|
155
232
|
},
|
|
@@ -173,105 +250,12 @@
|
|
|
173
250
|
},
|
|
174
251
|
"workflow-body": {
|
|
175
252
|
"patterns": [
|
|
176
|
-
{
|
|
177
|
-
"include": "#implicit-variables"
|
|
178
|
-
},
|
|
179
253
|
{
|
|
180
254
|
"match": "(?:take|main|emit):",
|
|
181
255
|
"name": "constant.block.nextflow"
|
|
182
256
|
},
|
|
183
257
|
{
|
|
184
|
-
"
|
|
185
|
-
"name": "entity.name.function.nextflow"
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
"captures": {
|
|
189
|
-
"1": {
|
|
190
|
-
"name": "keyword.nextflow"
|
|
191
|
-
},
|
|
192
|
-
"2": {
|
|
193
|
-
"name": "entity.name.function.nextflow"
|
|
194
|
-
}
|
|
195
|
-
},
|
|
196
|
-
"comment": "Channel factory single line",
|
|
197
|
-
"match": "\\b((?:C|c)hannel\\.)((fromList|fromPath|fromFilePairs|fromSRA|from|of|empty|value|watchPath)\\W)?"
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
"begin": "\\b((?:C|c)hannel)\\s*$",
|
|
201
|
-
"beginCaptures": {
|
|
202
|
-
"1": {
|
|
203
|
-
"name": "keyword.nextflow"
|
|
204
|
-
}
|
|
205
|
-
},
|
|
206
|
-
"comment": "Channel factory multi-line",
|
|
207
|
-
"end": "(^\\s*)(?:(\\.)(fromList|fromPath|fromFilePairs|fromSRA|from|of|empty|value|watchPath)\\W)?",
|
|
208
|
-
"endCaptures": {
|
|
209
|
-
"1": {
|
|
210
|
-
"name": "keyword.nextflow"
|
|
211
|
-
},
|
|
212
|
-
"2": {
|
|
213
|
-
"name": "keyword.nextflow"
|
|
214
|
-
},
|
|
215
|
-
"3": {
|
|
216
|
-
"name": "entity.name.function.nextflow"
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
"begin": "(\\w*\\()",
|
|
222
|
-
"beginCaptures": {
|
|
223
|
-
"1": {
|
|
224
|
-
"patterns": [
|
|
225
|
-
{
|
|
226
|
-
"include": "source.nextflow-groovy"
|
|
227
|
-
}
|
|
228
|
-
]
|
|
229
|
-
}
|
|
230
|
-
},
|
|
231
|
-
"comment": "method call and parens",
|
|
232
|
-
"end": "\\)",
|
|
233
|
-
"patterns": [
|
|
234
|
-
{
|
|
235
|
-
"include": "#workflow-body"
|
|
236
|
-
}
|
|
237
|
-
]
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
"begin": "{",
|
|
241
|
-
"comment": "braces",
|
|
242
|
-
"end": "}",
|
|
243
|
-
"patterns": [
|
|
244
|
-
{
|
|
245
|
-
"include": "#workflow-body"
|
|
246
|
-
}
|
|
247
|
-
]
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
"include": "source.nextflow-groovy#comments"
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
"include": "source.nextflow-groovy#support-functions"
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
"include": "source.nextflow-groovy#keyword"
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
"include": "source.nextflow-groovy#values"
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
"include": "source.nextflow-groovy#anonymous-classes-and-new"
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
"include": "source.nextflow-groovy#types"
|
|
266
|
-
},
|
|
267
|
-
{
|
|
268
|
-
"include": "source.nextflow-groovy#parens"
|
|
269
|
-
},
|
|
270
|
-
{
|
|
271
|
-
"include": "source.nextflow-groovy#closures"
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
"include": "source.nextflow-groovy#braces"
|
|
258
|
+
"include": "source.nextflow-groovy#groovy"
|
|
275
259
|
}
|
|
276
260
|
]
|
|
277
261
|
},
|
package/index.js
CHANGED
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
|
|
6
6
|
export const grammars = [
|
|
7
7
|
{
|
|
8
|
-
byteSize:
|
|
8
|
+
byteSize: 15584,
|
|
9
9
|
displayName: 'ABAP',
|
|
10
|
-
hash: '
|
|
11
|
-
lastUpdate: '
|
|
10
|
+
hash: 'm8nOHIPzTv',
|
|
11
|
+
lastUpdate: '2024-10-30T07:20:22Z',
|
|
12
12
|
name: 'abap',
|
|
13
13
|
scopeName: 'source.abap',
|
|
14
|
-
sha: '
|
|
15
|
-
source: 'https://github.com/pvl/abap.tmbundle/blob/
|
|
14
|
+
sha: 'ae37b62b547c4af5fb925cd97feaaeab69603ca2',
|
|
15
|
+
source: 'https://github.com/pvl/abap.tmbundle/blob/ae37b62b547c4af5fb925cd97feaaeab69603ca2/Syntaxes/ABAP.tmLanguage',
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
byteSize: 13967,
|
|
@@ -1158,19 +1158,19 @@ export const grammars = [
|
|
|
1158
1158
|
source: 'https://github.com/MarioSchwalbe/vscode-gnuplot/blob/c62c1a61c9b6b4658b43d76c397dc2ad43523b6a/syntaxes/gnuplot.tmLanguage',
|
|
1159
1159
|
},
|
|
1160
1160
|
{
|
|
1161
|
-
byteSize:
|
|
1161
|
+
byteSize: 46815,
|
|
1162
1162
|
categories: [
|
|
1163
1163
|
'general',
|
|
1164
1164
|
],
|
|
1165
1165
|
displayName: 'Go',
|
|
1166
|
-
hash: '
|
|
1167
|
-
lastUpdate: '2024-
|
|
1166
|
+
hash: 'dKNuePcwNy',
|
|
1167
|
+
lastUpdate: '2024-10-28T14:54:18Z',
|
|
1168
1168
|
license: 'MIT',
|
|
1169
1169
|
licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
|
|
1170
1170
|
name: 'go',
|
|
1171
1171
|
scopeName: 'source.go',
|
|
1172
|
-
sha: '
|
|
1173
|
-
source: 'https://github.com/microsoft/vscode/blob/
|
|
1172
|
+
sha: '0561ca03c895239131a526d8731da0e53027167c',
|
|
1173
|
+
source: 'https://github.com/microsoft/vscode/blob/0561ca03c895239131a526d8731da0e53027167c/extensions/go/syntaxes/go.tmLanguage.json',
|
|
1174
1174
|
},
|
|
1175
1175
|
{
|
|
1176
1176
|
aliases: [
|
|
@@ -2137,16 +2137,16 @@ export const grammars = [
|
|
|
2137
2137
|
aliases: [
|
|
2138
2138
|
'nf',
|
|
2139
2139
|
],
|
|
2140
|
-
byteSize:
|
|
2140
|
+
byteSize: 3763,
|
|
2141
2141
|
displayName: 'Nextflow',
|
|
2142
|
-
hash: '
|
|
2143
|
-
lastUpdate: '
|
|
2142
|
+
hash: 'mOLjIBx8gF',
|
|
2143
|
+
lastUpdate: '2024-10-28T03:30:14Z',
|
|
2144
2144
|
license: 'MIT',
|
|
2145
2145
|
licenseUrl: 'https://raw.githubusercontent.com/nextflow-io/vscode-language-nextflow/master/LICENSE.md',
|
|
2146
2146
|
name: 'nextflow',
|
|
2147
2147
|
scopeName: 'source.nextflow',
|
|
2148
|
-
sha: '
|
|
2149
|
-
source: 'https://github.com/nextflow-io/vscode-language-nextflow/blob/
|
|
2148
|
+
sha: '9f77dfa030f7d6d057cc8745f8b8bcf366548048',
|
|
2149
|
+
source: 'https://github.com/nextflow-io/vscode-language-nextflow/blob/9f77dfa030f7d6d057cc8745f8b8bcf366548048/syntaxes/nextflow.tmLanguage.json',
|
|
2150
2150
|
},
|
|
2151
2151
|
{
|
|
2152
2152
|
byteSize: 34919,
|