tm-grammars 1.23.14 → 1.23.16

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/NOTICE CHANGED
@@ -3233,7 +3233,7 @@ SPDX: MIT
3233
3233
  ---------------------------------------------------------------------------------------------------------
3234
3234
  MIT License
3235
3235
 
3236
- Copyright (c) 2024 Alex Kanunnikov
3236
+ Copyright (c) 2025 Alex Kanunnikov
3237
3237
 
3238
3238
  Permission is hereby granted, free of charge, to any person obtaining a copy
3239
3239
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -34,7 +34,7 @@ import { grammars } from 'tm-grammars'
34
34
  | `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.27 kB |
35
35
  | `astro` | | [withastro/language-tools](https://github.com/withastro/language-tools/blob/8e55c37cbcf134dedf0068781245da5a9d46d081/packages/vscode/syntaxes/astro.tmLanguage.src.yaml) | [MIT](https://raw.githubusercontent.com/withastro/language-tools/main/LICENSE) | [GitHub Sponsors: **@withastro**](https://github.com/sponsors/withastro) [Open Collective: **astrodotbuild**](https://opencollective.com/astrodotbuild) [thanks.dev: **u/gh/withastro**](https://thanks.dev/d/u/gh/withastro) | `json` `javascript` `typescript` `stylus` `sass` `css` `scss` `less` `postcss` `tsx` | 22.89 kB |
36
36
  | `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.16 kB |
37
- | `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) | | | 54.39 kB |
37
+ | `ballerina` | | [ballerina-platform/ballerina-grammar](https://github.com/ballerina-platform/ballerina-grammar/blob/4bf70d328ae9e5a93219e44c031ab3776c76727a/syntaxes/ballerina.tmLanguage) | [Apache-2.0](https://raw.githubusercontent.com/ballerina-platform/ballerina-grammar/master/LICENSE) | | | 55.05 kB |
38
38
  | `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.31 kB |
39
39
  | `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) | | | 9.66 kB |
40
40
  | `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.06 kB |
@@ -82,13 +82,13 @@ import { grammars } from 'tm-grammars'
82
82
  | `fortran-free-form` | `f90` `f95` `f03` `f08` `f18` | [fortran-lang/vscode-fortran-support](https://github.com/fortran-lang/vscode-fortran-support/blob/f7fb41579770a0d8c75b9f295d167b31147b4f33/syntaxes/fortran_free-form.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/fortran-lang/vscode-fortran-support/main/LICENSE) | | | 82.16 kB |
83
83
  | `fsharp` | `f#` `fs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/e67b1982e1ab318288b8196ad503273dcb168049/extensions/fsharp/syntaxes/fsharp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `markdown` | 23.90 kB |
84
84
  | `gdresource` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/e7e2d0439dea0fb3a568378554c81e0a17348a84/syntaxes/GDResource.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | [fund.godotengine.org](https://fund.godotengine.org/) | `gdshader` `gdscript` | 4.74 kB |
85
- | `gdscript` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/0203cec2938650a3ec3af4e1f14a98a7b929fffc/syntaxes/GDScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | [fund.godotengine.org](https://fund.godotengine.org/) | | 17.88 kB |
85
+ | `gdscript` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/911a34fda4d4ffacb04dc7fa4737347ac95ddb40/syntaxes/GDScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | [fund.godotengine.org](https://fund.godotengine.org/) | | 17.85 kB |
86
86
  | `gdshader` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/e7e2d0439dea0fb3a568378554c81e0a17348a84/syntaxes/GDShader.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | [fund.godotengine.org](https://fund.godotengine.org/) | | 5.91 kB |
87
87
  | `genie` | | [vala-lang/vala-vscode](https://github.com/vala-lang/vala-vscode/blob/8f825e95648326df2572d0522632251cdff4a43b/syntaxes/genie.YAML-tmLanguage) | [MIT](https://raw.githubusercontent.com/vala-lang/vala-vscode/master/LICENSE) | | | 3.11 kB |
88
88
  | `gherkin` | | [alexkrechik/VSCucumberAutoComplete](https://github.com/alexkrechik/VSCucumberAutoComplete/blob/fbb554addf81e8961b58b1577924af10fecf9694/syntaxes/feature.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/alexkrechik/VSCucumberAutoComplete/master/LICENSE) | | | 11.66 kB |
89
89
  | `git-commit` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/f8c3f89468fea14103d8790d59ea8594d6e644eb/extensions/git-base/syntaxes/git-commit.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `diff` | 1.06 kB |
90
90
  | `git-rebase` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/e95c74c4c7af876e79ec58df262464467c06df28/extensions/git-base/syntaxes/git-rebase.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `shellscript` | 821.00 B |
91
- | `gleam` | | [gleam-lang/vscode-gleam](https://github.com/gleam-lang/vscode-gleam/blob/79dce69097e64ee228784cb36ae0ef346eb0bf25/syntaxes/gleam.tmLanguage.json) | [Apache-2.0](https://raw.githubusercontent.com/gleam-lang/vscode-gleam/main/LICENSE.txt) | | | 2.42 kB |
91
+ | `gleam` | | [gleam-lang/vscode-gleam](https://github.com/gleam-lang/vscode-gleam/blob/aa487ed82aeaec8dbac62e796689daf55abf1aa9/syntaxes/gleam.tmLanguage.json) | [Apache-2.0](https://raw.githubusercontent.com/gleam-lang/vscode-gleam/main/LICENSE.txt) | | | 2.37 kB |
92
92
  | `glimmer-js` | `gjs` | [lifeart/vsc-ember-syntax](https://github.com/lifeart/vsc-ember-syntax/blob/76fce7b360ce09a78789e7d5217b8955d1a5d95f/syntaxes/source.gjs.json) | [MIT](https://raw.githubusercontent.com/lifeart/vsc-ember-syntax/master/LICENSE) | | `javascript` `typescript` `css` `html` | 19.05 kB |
93
93
  | `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.05 kB |
94
94
  | `glsl` | | [polym0rph/GLSL.tmbundle](https://github.com/polym0rph/GLSL.tmbundle/blob/6998d3bbd204e26746a5ca580cda4c650b9057b1/Syntaxes/GLSL.tmLanguage) | | | `c` | 3.40 kB |
@@ -205,7 +205,7 @@ import { grammars } from 'tm-grammars'
205
205
  | `swift` | | [jtbandes/swift-tmlanguage](https://github.com/jtbandes/swift-tmlanguage/blob/b8d2889b4af1d8bad41578317a6adade642555a3/Swift.tmLanguage.yaml) | [MIT](https://raw.githubusercontent.com/jtbandes/swift-tmlanguage/main/LICENSE.md) | [GitHub Sponsors: **@jtbandes**](https://github.com/sponsors/jtbandes) [Ko-fi: **jtbandes**](https://ko-fi.com/jtbandes) | | 81.28 kB |
206
206
  | `system-verilog` | | [mshr-h/vscode-verilog-hdl-support](https://github.com/mshr-h/vscode-verilog-hdl-support/blob/a63b28cd8f15d9ec4861b2f802e8bf6ce4f6d2f2/syntaxes/systemverilog.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mshr-h/vscode-verilog-hdl-support/main/LICENSE) | [buymeacoffee.com](https://www.buymeacoffee.com/mshr.h) | | 24.22 kB |
207
207
  | `systemd` | | [hangxingliu/vscode-systemd](https://github.com/hangxingliu/vscode-systemd/blob/62ace1156b5afa0ec9932e3a55cfc00c0123c457/src/syntax/systemd.tmLanguage) | [MIT](https://raw.githubusercontent.com/hangxingliu/vscode-systemd/main/LICENSE) | | | 7.40 kB |
208
- | `talonscript` | `talon` | [mrob95/vscode-TalonScript](https://github.com/mrob95/vscode-TalonScript/blob/2ac0a7b9e7dd2ea59d5a1d79934c1f407493a0fa/syntaxes/talon.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mirober/vscode-TalonScript/master/LICENSE) | | | 6.19 kB |
208
+ | `talonscript` | `talon` | [mrob95/vscode-TalonScript](https://github.com/mrob95/vscode-TalonScript/blob/91f3a6faaf926c02582f36ee155f2c4a02b9cc48/syntaxes/talon.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mirober/vscode-TalonScript/master/LICENSE) | | | 6.40 kB |
209
209
  | `tasl` | | [underlay/vscode-tasl](https://github.com/underlay/vscode-tasl/blob/dde4b7c0b762c2e667584095362dd49ebfacece7/syntaxes/tasl.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/underlay/vscode-tasl/main/LICENSE) | | | 3.10 kB |
210
210
  | `tcl` | | [sleutho/tcl](https://github.com/sleutho/tcl/blob/f18820ad14678bc033f0a35524820c90fe50f18b/syntaxes/tcl.tmLanguage) | | | | 4.12 kB |
211
211
  | `templ` | | [templ-go/templ-vscode](https://github.com/templ-go/templ-vscode/blob/257a6388f92d85bdbea3bc6b76e6b3f32d2aab3f/syntaxes/templ.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/templ-go/templ-vscode/main/LICENSE) | | `go` `javascript` `css` | 22.99 kB |
@@ -226,7 +226,7 @@ import { grammars } from 'tm-grammars'
226
226
  | `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) | [buymeacoffee.com](https://www.buymeacoffee.com/mshr.h) | | 5.60 kB |
227
227
  | `vhdl` | | [jonasjj/awesome-vhdl](https://github.com/jonasjj/awesome-vhdl/blob/b787559a47d64c7baf2a9ac0f4cac8e2e721cddc/syntaxes/vhdl.tmLanguage) | [MIT](https://raw.githubusercontent.com/jonasjj/awesome-vhdl/master/LICENSE.txt) | | | 23.00 kB |
228
228
  | `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) | | | 19.69 kB |
229
- | `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) | [GitHub Sponsors: **@johnsoncodehk**](https://github.com/sponsors/johnsoncodehk) | `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.06 kB |
229
+ | `vue` | | [vuejs/language-tools](https://github.com/vuejs/language-tools/blob/e8627588049742764b3b26ead7a2b95fec65cb4f/extensions/vscode/syntaxes/vue.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/vuejs/language-tools/master/LICENSE) | [GitHub Sponsors: **@johnsoncodehk**](https://github.com/sponsors/johnsoncodehk) | `markdown` `pug` `stylus` `sass` `css` `scss` `less` `javascript` `typescript` `jsx` `tsx` `coffee` `json` `jsonc` `json5` `yaml` `toml` `graphql` `html-derivative` `html` `markdown-vue` `vue-directives` `vue-interpolations` `vue-sfc-style-variable-injection` | 17.14 kB |
230
230
  | `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) | [GitHub Sponsors: **@octref**](https://github.com/sponsors/octref) [IssueHunt: **vuejs/vetur**](https://issuehunt.io/r/vuejs/vetur) | `vue` `javascript` | 8.04 kB |
231
231
  | `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) | | | 71.04 kB |
232
232
  | `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) | | | 11.18 kB |
@@ -915,6 +915,9 @@
915
915
  "end": "(?=;)|(?=,)|(?=\\);)",
916
916
  "name": "meta.block.ballerina",
917
917
  "patterns": [
918
+ {
919
+ "include": "#natural-expr"
920
+ },
918
921
  {
919
922
  "include": "#statements"
920
923
  },
@@ -1334,6 +1337,9 @@
1334
1337
  "match": "\\b(check|foreach|if|checkpanic)\\b",
1335
1338
  "name": "keyword.control.ballerina"
1336
1339
  },
1340
+ {
1341
+ "include": "#natural-expr"
1342
+ },
1337
1343
  {
1338
1344
  "include": "#call"
1339
1345
  },
@@ -1783,6 +1789,59 @@
1783
1789
  }
1784
1790
  ]
1785
1791
  },
1792
+ "natural-expr": {
1793
+ "patterns": [
1794
+ {
1795
+ "begin": "natural",
1796
+ "beginCaptures": {
1797
+ "0": {
1798
+ "name": "keyword.other.ballerina"
1799
+ }
1800
+ },
1801
+ "end": "(?=})",
1802
+ "endCaptures": {
1803
+ "0": {
1804
+ "name": "punctuation.definition.block.ballerina"
1805
+ }
1806
+ },
1807
+ "patterns": [
1808
+ {
1809
+ "include": "#natural-expr-body"
1810
+ }
1811
+ ]
1812
+ }
1813
+ ]
1814
+ },
1815
+ "natural-expr-body": {
1816
+ "patterns": [
1817
+ {
1818
+ "begin": "\\{",
1819
+ "beginCaptures": {
1820
+ "0": {
1821
+ "name": "punctuation.definition.block.ballerina"
1822
+ }
1823
+ },
1824
+ "contentName": "string.template.ballerina",
1825
+ "end": "(?=})",
1826
+ "endCaptures": {
1827
+ "0": {
1828
+ "name": "punctuation.definition.block.ballerina"
1829
+ }
1830
+ },
1831
+ "patterns": [
1832
+ {
1833
+ "include": "#template-substitution-element"
1834
+ },
1835
+ {
1836
+ "include": "#string-character-escape"
1837
+ },
1838
+ {
1839
+ "include": "#templateVariable"
1840
+ }
1841
+ ]
1842
+ }
1843
+ ]
1844
+ },
1786
1845
  "numbers": {
1787
1846
  "patterns": [
1788
1847
  {
@@ -160,9 +160,6 @@
160
160
  {
161
161
  "include": "#comment"
162
162
  },
163
- {
164
- "include": "#self"
165
- },
166
163
  {
167
164
  "include": "#func"
168
165
  },
@@ -428,7 +425,7 @@
428
425
  },
429
426
  "func": {
430
427
  "match": "\\bfunc\\b",
431
- "name": "keyword.language.gdscript"
428
+ "name": "keyword.language.gdscript storage.type.function.gdscript"
432
429
  },
433
430
  "function_arguments": {
434
431
  "begin": "(\\()",
@@ -619,7 +616,7 @@
619
616
  ]
620
617
  },
621
618
  "keywords": {
622
- "match": "\\b(?:class|class_name|abstract|is|onready|tool|static|export|as|void|enum|assert|breakpoint|sync|remote|master|puppet|slave|remotesync|mastersync|puppetsync|trait|namespace|super)\\b",
619
+ "match": "\\b(?:class|class_name|abstract|is|onready|tool|static|export|as|void|enum|assert|breakpoint|sync|remote|master|puppet|slave|remotesync|mastersync|puppetsync|trait|namespace|super|self)\\b",
623
620
  "name": "keyword.language.gdscript"
624
621
  },
625
622
  "lambda_declaration": {
@@ -746,11 +743,11 @@
746
743
  {
747
744
  "begin": "([\"'])",
748
745
  "end": "\\1",
749
- "name": "string.quoted.gdscript meta.literal.nodepath.gdscript constant.character.escape",
746
+ "name": "string.quoted.gdscript meta.literal.nodepath.gdscript constant.character.escape.gdscript",
750
747
  "patterns": [
751
748
  {
752
749
  "match": "%",
753
- "name": "keyword.control.flow"
750
+ "name": "keyword.control.flow.gdscript"
754
751
  }
755
752
  ]
756
753
  },
@@ -900,10 +897,6 @@
900
897
  }
901
898
  ]
902
899
  },
903
- "self": {
904
- "match": "\\bself\\b",
905
- "name": "variable.language.gdscript"
906
- },
907
900
  "signal_declaration": {
908
901
  "begin": "\\s*(signal)\\s+([A-Z_a-z]\\w*)\\s*(?=\\()",
909
902
  "beginCaptures": {
@@ -26,7 +26,7 @@
26
26
  ],
27
27
  "repository": {
28
28
  "binary_number": {
29
- "match": "\\b0[Bb]0*1[01_]*\\b",
29
+ "match": "\\b0[Bb][01_]*\\b",
30
30
  "name": "constant.numeric.binary.gleam",
31
31
  "patterns": [
32
32
  ]
@@ -60,7 +60,7 @@
60
60
  ]
61
61
  },
62
62
  "decimal_number": {
63
- "match": "\\b(0*[1-9][0-9_]*|0)(\\.(0*[1-9][0-9_]*|0)?(e-?0*[1-9][0-9]*)?)?\\b",
63
+ "match": "\\b([0-9][0-9_]*)(\\.([0-9_]*)?(e-?[0-9]+)?)?\\b",
64
64
  "name": "constant.numeric.decimal.gleam",
65
65
  "patterns": [
66
66
  ]
@@ -96,7 +96,7 @@
96
96
  ]
97
97
  },
98
98
  "hexadecimal_number": {
99
- "match": "\\b0[Xx]0*[1-9A-Za-z][0-9A-Za-z]*\\b",
99
+ "match": "\\b0[Xx][_\\h]+\\b",
100
100
  "name": "constant.numeric.hexadecimal.gleam",
101
101
  "patterns": [
102
102
  ]
@@ -104,7 +104,7 @@
104
104
  "keywords": {
105
105
  "patterns": [
106
106
  {
107
- "match": "\\b(as|use|case|if|fn|import|let|assert|pub|type|opaque|const|todo|panic|else|try|echo)\\b",
107
+ "match": "\\b(as|use|case|if|fn|import|let|assert|pub|type|opaque|const|todo|panic|else|echo)\\b",
108
108
  "name": "keyword.control.gleam"
109
109
  },
110
110
  {
@@ -158,7 +158,7 @@
158
158
  ]
159
159
  },
160
160
  "octal_number": {
161
- "match": "\\b0[Oo]0*[1-7][0-7]*\\b",
161
+ "match": "\\b0[Oo][0-7_]*\\b",
162
162
  "name": "constant.numeric.octal.gleam",
163
163
  "patterns": [
164
164
  ]
@@ -131,6 +131,9 @@
131
131
  {
132
132
  "include": "#comment"
133
133
  },
134
+ {
135
+ "include": "#comment-invalid"
136
+ },
134
137
  {
135
138
  "include": "#expression"
136
139
  }
@@ -150,6 +153,9 @@
150
153
  {
151
154
  "include": "#comment"
152
155
  },
156
+ {
157
+ "include": "#comment-invalid"
158
+ },
153
159
  {
154
160
  "include": "#other-rule-definition"
155
161
  },
@@ -163,9 +169,13 @@
163
169
  "name": "variable.parameter.talon"
164
170
  },
165
171
  "comment": {
166
- "match": "(\\s*#.*)$",
172
+ "match": "^\\s*(#.*)$",
167
173
  "name": "comment.line.number-sign.talon"
168
174
  },
175
+ "comment-invalid": {
176
+ "match": "(\\s*#.*)$",
177
+ "name": "invalid.illegal"
178
+ },
169
179
  "context": {
170
180
  "captures": {
171
181
  "1": {
@@ -183,6 +193,9 @@
183
193
  {
184
194
  "include": "#comment"
185
195
  },
196
+ {
197
+ "include": "#comment-invalid"
198
+ },
186
199
  {
187
200
  "include": "#regexp"
188
201
  }
@@ -471,6 +484,9 @@
471
484
  {
472
485
  "include": "#comment"
473
486
  },
487
+ {
488
+ "include": "#comment-invalid"
489
+ },
474
490
  {
475
491
  "include": "#qstring-long"
476
492
  },
@@ -515,7 +531,7 @@
515
531
  ]
516
532
  }
517
533
  },
518
- "match": "([.0-9A-Z_a-z])(_(list|\\d+))?",
534
+ "match": "([.0-9A-Z_a-z])(_(list|\\d+)(?=[^.0-9A-Z_a-z]))?",
519
535
  "name": "variable.parameter.talon"
520
536
  }
521
537
  },
package/grammars/vue.json CHANGED
@@ -5,9 +5,6 @@
5
5
  {
6
6
  "include": "#vue-comments"
7
7
  },
8
- {
9
- "include": "text.html.basic#comment"
10
- },
11
8
  {
12
9
  "include": "#self-closing-tag"
13
10
  },
@@ -974,6 +971,16 @@
974
971
  "patterns": [
975
972
  {
976
973
  "include": "#vue-comments-key-value"
974
+ },
975
+ {
976
+ "begin": "<!--",
977
+ "captures": {
978
+ "0": {
979
+ "name": "punctuation.definition.comment.vue"
980
+ }
981
+ },
982
+ "end": "-->",
983
+ "name": "comment.block.vue"
977
984
  }
978
985
  ]
979
986
  },
package/index.js CHANGED
@@ -313,18 +313,18 @@ export const grammars = [
313
313
  source: 'https://github.com/luggage66/vscode-awk/blob/eff8c0f160ae16592c8d9963fd77046137fd2612/syntaxes/awk.tmLanguage',
314
314
  },
315
315
  {
316
- byteSize: 55697,
316
+ byteSize: 56368,
317
317
  displayName: 'Ballerina',
318
318
  funding: [
319
319
  ],
320
- hash: 'gOAutnr266vUWuNN8ZcTIpP7nvURVB3uXidMTbA2--8',
321
- lastUpdate: '2023-08-21T05:23:05Z',
320
+ hash: 'w5lbbESsUkfaU0k7NA4ML8vZaUqG6hlpAy1QTpNvpKM',
321
+ lastUpdate: '2025-04-24T17:27:26Z',
322
322
  license: 'Apache-2.0',
323
323
  licenseUrl: 'https://raw.githubusercontent.com/ballerina-platform/ballerina-grammar/master/LICENSE',
324
324
  name: 'ballerina',
325
325
  scopeName: 'source.ballerina',
326
- sha: '42ddcc1c63c86bdd6ba712e86bf965f5063831d3',
327
- source: 'https://github.com/ballerina-platform/ballerina-grammar/blob/42ddcc1c63c86bdd6ba712e86bf965f5063831d3/syntaxes/ballerina.tmLanguage',
326
+ sha: '4bf70d328ae9e5a93219e44c031ab3776c76727a',
327
+ source: 'https://github.com/ballerina-platform/ballerina-grammar/blob/4bf70d328ae9e5a93219e44c031ab3776c76727a/syntaxes/ballerina.tmLanguage',
328
328
  },
329
329
  {
330
330
  aliases: [
@@ -1213,7 +1213,7 @@ export const grammars = [
1213
1213
  source: 'https://github.com/godotengine/godot-vscode-plugin/blob/e7e2d0439dea0fb3a568378554c81e0a17348a84/syntaxes/GDResource.tmLanguage.json',
1214
1214
  },
1215
1215
  {
1216
- byteSize: 18306,
1216
+ byteSize: 18274,
1217
1217
  displayName: 'GDScript',
1218
1218
  funding: [
1219
1219
  {
@@ -1221,14 +1221,14 @@ export const grammars = [
1221
1221
  url: 'https://fund.godotengine.org/',
1222
1222
  },
1223
1223
  ],
1224
- hash: 'tVujk0LmJvJsIjBXZN1SEK6tpw-Jg7oL2kO6cDucLQE',
1225
- lastUpdate: '2025-03-04T23:56:21Z',
1224
+ hash: 'C_YJPTJfva14j7AhQ0pJLbiwX1uL1H0hZsnaYumnsTg',
1225
+ lastUpdate: '2025-04-26T20:00:15Z',
1226
1226
  license: 'MIT',
1227
1227
  licenseUrl: 'https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE',
1228
1228
  name: 'gdscript',
1229
1229
  scopeName: 'source.gdscript',
1230
- sha: '0203cec2938650a3ec3af4e1f14a98a7b929fffc',
1231
- source: 'https://github.com/godotengine/godot-vscode-plugin/blob/0203cec2938650a3ec3af4e1f14a98a7b929fffc/syntaxes/GDScript.tmLanguage.json',
1230
+ sha: '911a34fda4d4ffacb04dc7fa4737347ac95ddb40',
1231
+ source: 'https://github.com/godotengine/godot-vscode-plugin/blob/911a34fda4d4ffacb04dc7fa4737347ac95ddb40/syntaxes/GDScript.tmLanguage.json',
1232
1232
  },
1233
1233
  {
1234
1234
  byteSize: 6048,
@@ -1317,18 +1317,18 @@ export const grammars = [
1317
1317
  source: 'https://github.com/microsoft/vscode/blob/e95c74c4c7af876e79ec58df262464467c06df28/extensions/git-base/syntaxes/git-rebase.tmLanguage.json',
1318
1318
  },
1319
1319
  {
1320
- byteSize: 2482,
1320
+ byteSize: 2431,
1321
1321
  displayName: 'Gleam',
1322
1322
  funding: [
1323
1323
  ],
1324
- hash: 'NYwZnnPvs5pXlOkyEdhZbvCOXaOmIaqYTwLlTCvG0ho',
1325
- lastUpdate: '2025-03-13T17:03:24Z',
1324
+ hash: '5CxvaGjTP1Hpz0F3sOfovl9SwolHVBwOv29G_2CckEM',
1325
+ lastUpdate: '2025-04-08T10:34:41Z',
1326
1326
  license: 'Apache-2.0',
1327
1327
  licenseUrl: 'https://raw.githubusercontent.com/gleam-lang/vscode-gleam/main/LICENSE.txt',
1328
1328
  name: 'gleam',
1329
1329
  scopeName: 'source.gleam',
1330
- sha: '79dce69097e64ee228784cb36ae0ef346eb0bf25',
1331
- source: 'https://github.com/gleam-lang/vscode-gleam/blob/79dce69097e64ee228784cb36ae0ef346eb0bf25/syntaxes/gleam.tmLanguage.json',
1330
+ sha: 'aa487ed82aeaec8dbac62e796689daf55abf1aa9',
1331
+ source: 'https://github.com/gleam-lang/vscode-gleam/blob/aa487ed82aeaec8dbac62e796689daf55abf1aa9/syntaxes/gleam.tmLanguage.json',
1332
1332
  },
1333
1333
  {
1334
1334
  aliases: [
@@ -3671,7 +3671,7 @@ export const grammars = [
3671
3671
  aliases: [
3672
3672
  'talon',
3673
3673
  ],
3674
- byteSize: 6342,
3674
+ byteSize: 6551,
3675
3675
  categories: [
3676
3676
  'scripting',
3677
3677
  'dsl',
@@ -3680,14 +3680,14 @@ export const grammars = [
3680
3680
  displayName: 'TalonScript',
3681
3681
  funding: [
3682
3682
  ],
3683
- hash: '48eZ5T_g0tyhVg5yrGBrY_-2QzQf0_HZAb1m2e5sF-Q',
3684
- lastUpdate: '2025-02-08T02:47:13Z',
3683
+ hash: 'jl1yCDh9RCZO20Hu2pYjcBa5ivcpZgaN5yOqdDOeRKs',
3684
+ lastUpdate: '2025-04-26T13:47:08Z',
3685
3685
  license: 'MIT',
3686
3686
  licenseUrl: 'https://raw.githubusercontent.com/mirober/vscode-TalonScript/master/LICENSE',
3687
3687
  name: 'talonscript',
3688
3688
  scopeName: 'source.talon',
3689
- sha: '2ac0a7b9e7dd2ea59d5a1d79934c1f407493a0fa',
3690
- source: 'https://github.com/mrob95/vscode-TalonScript/blob/2ac0a7b9e7dd2ea59d5a1d79934c1f407493a0fa/syntaxes/talon.tmLanguage.json',
3689
+ sha: '91f3a6faaf926c02582f36ee155f2c4a02b9cc48',
3690
+ source: 'https://github.com/mrob95/vscode-TalonScript/blob/91f3a6faaf926c02582f36ee155f2c4a02b9cc48/syntaxes/talon.tmLanguage.json',
3691
3691
  },
3692
3692
  {
3693
3693
  byteSize: 3178,
@@ -4036,13 +4036,12 @@ export const grammars = [
4036
4036
  source: 'https://github.com/dunstontc/viml/blob/8762570fc7d6f1009a3c93efd2a337330d88b88e/syntaxes/viml.tmLanguage.json',
4037
4037
  },
4038
4038
  {
4039
- byteSize: 17472,
4039
+ byteSize: 17553,
4040
4040
  categories: [
4041
4041
  'web',
4042
4042
  ],
4043
4043
  displayName: 'Vue',
4044
4044
  embedded: [
4045
- 'html',
4046
4045
  'markdown',
4047
4046
  'pug',
4048
4047
  'stylus',
@@ -4062,6 +4061,7 @@ export const grammars = [
4062
4061
  'toml',
4063
4062
  'graphql',
4064
4063
  'html-derivative',
4064
+ 'html',
4065
4065
  'markdown-vue',
4066
4066
  'vue-directives',
4067
4067
  'vue-interpolations',
@@ -4074,14 +4074,14 @@ export const grammars = [
4074
4074
  url: 'https://github.com/sponsors/johnsoncodehk',
4075
4075
  },
4076
4076
  ],
4077
- hash: 'Bnr1Z6ug6VNe2CW73WLxWQAYrGEY70kYOL_BlsMmJm4',
4078
- lastUpdate: '2024-12-20T20:08:46Z',
4077
+ hash: 'ZKZ366MOnSCRQxl41OCqWtp4mybcwyrwWGj5ZpJYEWY',
4078
+ lastUpdate: '2025-04-19T05:25:35Z',
4079
4079
  license: 'MIT',
4080
4080
  licenseUrl: 'https://raw.githubusercontent.com/vuejs/language-tools/master/LICENSE',
4081
4081
  name: 'vue',
4082
4082
  scopeName: 'source.vue',
4083
- sha: '5f11c44dce3f49e2c5f0dae1f93d892164a1980e',
4084
- source: 'https://github.com/vuejs/language-tools/blob/5f11c44dce3f49e2c5f0dae1f93d892164a1980e/extensions/vscode/syntaxes/vue.tmLanguage.json',
4083
+ sha: 'e8627588049742764b3b26ead7a2b95fec65cb4f',
4084
+ source: 'https://github.com/vuejs/language-tools/blob/e8627588049742764b3b26ead7a2b95fec65cb4f/extensions/vscode/syntaxes/vue.tmLanguage.json',
4085
4085
  },
4086
4086
  {
4087
4087
  byteSize: 8233,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "1.23.14",
4
+ "version": "1.23.16",
5
5
  "description": "Collecton of TextMate grammars in JSON",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",