Skip to content

Commit 54d44fe

Browse files
feat: update Themes and Grammars [ci skip]
1 parent 79bb6bd commit 54d44fe

24 files changed

+500
-102
lines changed

packages/tm-grammars/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ import { grammars } from 'tm-grammars'
4848
| `clarity` | | [hirosystems/clarity.tmbundle](https://github.com/hirosystems/clarity.tmbundle/blob/52508cc05304780d80a5dc817fcc35c6760c5459/Syntaxes/clarity.JSON-tmLanguage) | [MIT](https://raw.githubusercontent.com/hirosystems/clarity.tmbundle/main/LICENSE) | | | 13.32 kB |
4949
| `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.07 kB |
5050
| `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) | | | 9.39 kB |
51-
| `cobol` | | [spgennard/vscode_cobol](https://github.com/spgennard/vscode_cobol/blob/3cdee2f66c7ed4bdc57495d66c354021aae01f11/syntaxes/COBOL.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/spgennard/vscode_cobol/main/LICENSE) | | `html` `java` | 37.60 kB |
51+
| `cobol` | | [spgennard/vscode_cobol](https://github.com/spgennard/vscode_cobol/blob/439cc876fb63b73244502fe67aae909c4a458e49/syntaxes/COBOL.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/spgennard/vscode_cobol/main/LICENSE) | | `html` `java` | 37.59 kB |
5252
| `codeowners` | | [jasonnutter/vscode-codeowners](https://github.com/jasonnutter/vscode-codeowners/blob/219dee0ab25c1bfad0b9de84180117e71221a653/syntaxes/codeowners.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/jasonnutter/vscode-codeowners/master/LICENSE.txt) | | | 471.00 B |
5353
| `codeql` | `ql` | [github/vscode-codeql](https://github.com/github/vscode-codeql/blob/a6266bbcc88702619ceb580253a65e8f83333c1b/syntaxes/ql.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/github/vscode-codeql/main/LICENSE.md) | | | 25.80 kB |
5454
| `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` | 25.92 kB |
@@ -149,7 +149,7 @@ import { grammars } from 'tm-grammars'
149149
| `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` | 33.90 kB |
150150
| `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` | 20.80 kB |
151151
| `nix` | | [nix-community/vscode-nix-ide](https://github.com/nix-community/vscode-nix-ide/blob/ac1ed65aa92655748200cd62bd54e5ca051781bc/syntaxes/nix.YAML-tmLanguage) | [MIT](https://raw.githubusercontent.com/nix-community/vscode-nix-ide/main/LICENSE) | [Open Collective: **nix-community**](https://opencollective.com/nix-community) | | 14.07 kB |
152-
| `nushell` | `nu` | [nushell/vscode-nushell-lang](https://github.com/nushell/vscode-nushell-lang/blob/28ccc907ad4e6bccf252fba4c83cc7f4c00c2161/syntaxes/nushell.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nushell/vscode-nushell-lang/main/LICENSE) | | | 18.40 kB |
152+
| `nushell` | `nu` | [nushell/vscode-nushell-lang](https://github.com/nushell/vscode-nushell-lang/blob/b03d40225eeec75f08c24720b734cd462c946ead/syntaxes/nushell.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nushell/vscode-nushell-lang/main/LICENSE) | | | 18.74 kB |
153153
| `objective-c` | `objc` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/bd1abe08c38bb5deccf65610f8f3c03d2338d20d/extensions/objective-c/syntaxes/objective-c.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 101.97 kB |
154154
| `objective-cpp` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/bd1abe08c38bb5deccf65610f8f3c03d2338d20d/extensions/objective-c/syntaxes/objective-c++.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 165.07 kB |
155155
| `ocaml` | | [reasonml-editor/vscode-reasonml](https://github.com/reasonml-editor/vscode-reasonml/blob/14af625ec50ed9968b957b4d6336c5338d81af45/syntaxes/ocaml.json) | [Apache-2.0](https://raw.githubusercontent.com/reasonml-editor/vscode-reasonml/master/LICENSE) | | | 60.17 kB |
@@ -193,7 +193,7 @@ import { grammars } from 'tm-grammars'
193193
| `shellscript` | `bash` `sh` `shell` `zsh` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/9473445f7d3dcb5c579f42ece8b6c18c43c63ed3/extensions/shellscript/syntaxes/shell-unix-bash.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 39.09 kB |
194194
| `shellsession` | `console` | [hronro/sublime-linguist-syntax](https://github.com/hronro/sublime-linguist-syntax/blob/9c84f1d69dbe89bc23292f129cf2d408a9c7afe1/syntaxes/ShellSession.tmLanguage) | [MIT](https://raw.githubusercontent.com/hronro/sublime-linguist-syntax/master/LICENSE) | | `shellscript` | 513.00 B |
195195
| `smalltalk` | | [leocamello/vscode-smalltalk](https://github.com/leocamello/vscode-smalltalk/blob/bc888519a21740b4dbd4edcf2f884c61855dc58b/syntaxes/smalltalk.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/leocamello/vscode-smalltalk/master/LICENSE) | | | 3.61 kB |
196-
| `solidity` | | [juanfranblanco/vscode-solidity](https://github.com/juanfranblanco/vscode-solidity/blob/75531be0beda99b7293d778eb0b1c63f70d8ac59/syntaxes/solidity.json) | [MIT](https://raw.githubusercontent.com/juanfranblanco/vscode-solidity/master/License.txt) | | | 15.09 kB |
196+
| `solidity` | | [juanfranblanco/vscode-solidity](https://github.com/juanfranblanco/vscode-solidity/blob/00abfad973f7a2f4fd105e05641344e160020369/syntaxes/solidity.json) | [MIT](https://raw.githubusercontent.com/juanfranblanco/vscode-solidity/master/License.txt) | | | 15.22 kB |
197197
| `soy` | `closure-templates` | [mthadley/language-closure-templates](https://github.com/mthadley/language-closure-templates/blob/7caf3a1fad0245c4196d3766ba0f481762fbc92e/grammars/closure-templates.json) | [MIT](https://raw.githubusercontent.com/mthadley/language-closure-templates/master/LICENSE) | | `html` | 6.41 kB |
198198
| `sparql` | | [stardog-union/stardog-vsc](https://github.com/stardog-union/stardog-vsc/blob/a1963c610cde0eab23c44fc01ab36652565524de/stardog-rdf-grammars/syntaxes/sparql.tmLanguage.json) | | | `turtle` | 1.30 kB |
199199
| `splunk` | `spl` | [arcsector/vscode-splunk-search-syntax](https://github.com/arcsector/vscode-splunk-search-syntax/blob/b1f68ff035950e6a98e0db4af1a338cb1c3c1858/syntaxes/splunk_search.tmLanguage) | [MIT](https://raw.githubusercontent.com/arcsector/vscode-splunk-search-syntax/master/LICENSE.txt) | | | 3.20 kB |
@@ -224,7 +224,7 @@ import { grammars } from 'tm-grammars'
224224
| `vala` | | [vala-lang/vala-vscode](https://github.com/vala-lang/vala-vscode/blob/8f825e95648326df2572d0522632251cdff4a43b/syntaxes/vala.YAML-tmLanguage) | [MIT](https://raw.githubusercontent.com/vala-lang/vala-vscode/master/LICENSE) | | | 3.13 kB |
225225
| `vb` | `cmd` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/35d97bc7e439fce0f50f42074041ab2d8571b20a/extensions/vb/syntaxes/asp-vb-net.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | | 5.78 kB |
226226
| `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-
| `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.37 kB |
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.02 kB |
228228
| `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 |
229229
| `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.09 kB |
230230
| `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.05 kB |
@@ -247,12 +247,12 @@ Injections are grammars that are embedded in other grammars. They are used to ag
247247

248248
| Name | Alias | Source | License | Sponsor | Deps On | File Size |
249249
| ---- | ----- | ------ | ------- | ------- | ------- | --------- |
250-
| `angular-expression` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/de5d9650caa3a9de1b50e9815acb2a631f14ab3d/syntaxes/expression.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | | | 17.86 kB |
250+
| `angular-expression` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/39057fc2dbb37125778fb2c5c517c661f9399996/syntaxes/expression.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | | | 17.89 kB |
251251
| `angular-inline-style` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/f0422f5f571f79a904510944452f06fb36beff22/syntaxes/inline-styles.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | | `scss` | 1.17 kB |
252252
| `angular-inline-template` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/a18c61752e65ddcbeb31217f47f29fa38fe26c42/syntaxes/inline-template.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | | `angular-html` `angular-template` | 970.00 B |
253-
| `angular-let-declaration` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/4ab348120e4fb499bb12560dc039e0c7b5b418b8/syntaxes/let-declaration.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | | `angular-expression` | 879.00 B |
253+
| `angular-let-declaration` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/0aa2aa572dedcad4c5fc3c6825227396f4e99f21/syntaxes/let-declaration.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | | `angular-expression` | 871.00 B |
254254
| `angular-template` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/28739e438742bee69faceda5fd15445682451397/syntaxes/template.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | | `angular-expression` | 475.00 B |
255-
| `angular-template-blocks` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/b424eaa01e3cb5600bfe65ce7232a72c7d452d19/syntaxes/template-blocks.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | | `angular-expression` `angular-template` | 1.17 kB |
255+
| `angular-template-blocks` | | [angular/vscode-ng-language-service](https://github.com/angular/vscode-ng-language-service/blob/8c84410f61ed87e261a83458af10af18cbf669a9/syntaxes/template-blocks.json) | [MIT](https://raw.githubusercontent.com/angular/vscode-ng-language-service/main/LICENSE) | | `angular-expression` `angular-template` | 1.87 kB |
256256
| `cpp-macro` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/6ac83c7c7dda9f27ca1fe9d98675253e010b75d1/extensions/cpp/syntaxes/cpp.embedded.macro.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `regexp` `glsl` `sql` | 209.64 kB |
257257
| `es-tag-css` | | [0x00000001A/es6-string-html](https://github.com/0x00000001A/es6-string-html/blob/b8f51210b53ce64e789949d4be33b7ecb42cf177/syntaxes/es6-inline-css.json) | [MIT](https://raw.githubusercontent.com/0x00000001A/es6-string-html/master/LICENSE) | [Ko-fi: **26**](https://ko-fi.com/26) | `typescript` `css` `javascript` | 1.65 kB |
258258
| `es-tag-glsl` | | [0x00000001A/es6-string-html](https://github.com/0x00000001A/es6-string-html/blob/b8f51210b53ce64e789949d4be33b7ecb42cf177/syntaxes/es6-inline-glsl.json) | [MIT](https://raw.githubusercontent.com/0x00000001A/es6-string-html/master/LICENSE) | [Ko-fi: **26**](https://ko-fi.com/26) | `typescript` `glsl` `javascript` | 1.53 kB |

packages/tm-grammars/grammars/angular-expression.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,9 @@
371371
{
372372
"include": "#punctuationComma"
373373
},
374+
{
375+
"include": "#punctuationSemicolon"
376+
},
374377
{
375378
"include": "#punctuationAccessor"
376379
}

packages/tm-grammars/grammars/angular-let-declaration.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
"name": "storage.type.ng"
2020
},
2121
"2": {
22-
"name": "meta.definition.variable.ng"
22+
"name": "variable.other.constant.ng"
2323
},
2424
"3": {
2525
"name": "keyword.operator.assignment.ng"
2626
}
2727
},
28-
"contentName": "meta.definition.variable.ng",
2928
"end": "(?<=;)",
29+
"name": "meta.definition.variable.ng",
3030
"patterns": [
3131
{
3232
"include": "#letInitializer"

packages/tm-grammars/grammars/angular-template-blocks.json

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,60 @@
7474
"name": "meta.brace.round.ts"
7575
}
7676
},
77+
"patterns": [
78+
{
79+
"include": "#blockExpressionOfClause"
80+
},
81+
{
82+
"include": "#blockExpressionLetBinding"
83+
},
84+
{
85+
"include": "#blockExpressionTrackClause"
86+
},
87+
{
88+
"include": "expression.ng"
89+
}
90+
]
91+
},
92+
"blockExpressionLetBinding": {
93+
"begin": "\\blet\\b",
94+
"beginCaptures": {
95+
"0": {
96+
"name": "storage.type.ng"
97+
}
98+
},
99+
"end": "(?=[$)])|(?<=;)",
100+
"patterns": [
101+
{
102+
"include": "expression.ng"
103+
}
104+
]
105+
},
106+
"blockExpressionOfClause": {
107+
"begin": "([_$[:alpha:]][_$[:alnum:]]*)\\s+(of)\\b",
108+
"beginCaptures": {
109+
"1": {
110+
"name": "variable.other.constant.ng"
111+
},
112+
"2": {
113+
"name": "keyword.operator.expression.of.ng"
114+
}
115+
},
116+
"end": "(?=[$)])|(?<=;)",
117+
"patterns": [
118+
{
119+
"include": "expression.ng"
120+
}
121+
]
122+
},
123+
"blockExpressionTrackClause": {
124+
"begin": "\\btrack\\b",
125+
"beginCaptures": {
126+
"0": {
127+
"name": "keyword.control.track.ng"
128+
}
129+
},
130+
"end": "(?=[$)])|(?<=;)",
77131
"patterns": [
78132
{
79133
"include": "expression.ng"

packages/tm-grammars/grammars/cobol.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@
879879
"match": "(?<![-_])(?i:type)\\s+([0-9a-zA-Z.]*)"
880880
},
881881
{
882-
"match": "(?<![-_])(?i:if|else|end-if|exit\\s+iterator|exit\\s+program|exit\\s+method|evaluate|end-evaluate|exit\\s+perform|perform|end-perform|when\\s+other|when|continue|call|end-call|chain|end-chain|invoke|end\\s+invoke|go\\s+to|go|sort|merge|use|xml|parse|stop\\s+run|goback\\s+returning|goback|raise|exit\\s+function|exit\\sparagraph|await)(?![0-9A-Za-z_-])",
882+
"match": "(?<![-_])(?i:if|else|end-if|exit\\s+iterator|exit\\s+program|exit\\s+method|evaluate|end-evaluate|exit\\s+perform|perform|end-perform|when\\s+other|when|continue|call|end-call|chain|end-chain|invoke|end\\s+invoke|end-xml|go\\s+to|go|sort|merge|use|xml\\s+parse|xml|top\\s+run|goback\\s+returning|goback|raise|exit\\s+function|exit\\sparagraph|await)(?![0-9A-Za-z_-])",
883883
"name": "keyword.control.cobol"
884884
},
885885
{
@@ -1025,7 +1025,7 @@
10251025
"name": "support.type.cobol"
10261026
},
10271027
{
1028-
"match": "(?<![-_])(?i:end-xml|processing.*procedure|xml\\sparse|xml|xml-information|xml-text|xml-schemal|xml-declaration)(?![0-9A-Za-z_-])",
1028+
"match": "(?<![-_])(?i:processing.*procedure|xml-information|xml-text|xml-schemal|xml-declaration)(?![0-9A-Za-z_-])",
10291029
"name": "keyword.xml.cobol"
10301030
},
10311031
{

packages/tm-grammars/grammars/nushell.json

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,12 @@
264264
{
265265
"include": "#numbers-hexa"
266266
},
267+
{
268+
"include": "#numbers-octal"
269+
},
270+
{
271+
"include": "#numbers-binary"
272+
},
267273
{
268274
"include": "#binary"
269275
}
@@ -597,11 +603,19 @@
597603
]
598604
},
599605
"numbers": {
600-
"match": "(?<![\\w-])[-+]?(?:\\d+|\\d{1,3}(?:_\\d{3})*)(?:\\.\\d*)?(?i:ns|us|µs|ms|sec|min|hr|day|wk|b|kb|mb|gb|tb|pt|eb|zb|kib|mib|gib|tib|pit|eib|zib)?(?:(?![\\w.])|(?=\\.\\.))",
606+
"match": "(?<![\\w-])_*+[-+]?_*+(?:(?i:NaN|infinity|inf)_*+|(?:\\d[\\d_]*+\\.?|\\._*+\\d)[\\d_]*+(?i:E_*+[-+]?_*+\\d[\\d_]*+)?)(?i:ns|us|µs|ms|sec|min|hr|day|wk|b|kb|mb|gb|tb|pt|eb|zb|kib|mib|gib|tib|pit|eib|zib)?(?:(?![\\w.])|(?=\\.\\.))",
607+
"name": "constant.numeric.nushell"
608+
},
609+
"numbers-binary": {
610+
"match": "(?<![\\w-])_*+0_*+b_*+[01][01_]*+(?![\\w.])",
601611
"name": "constant.numeric.nushell"
602612
},
603613
"numbers-hexa": {
604-
"match": "(?<![\\w-])0x\\h+(?![\\w.])",
614+
"match": "(?<![\\w-])_*+0_*+x_*+\\h[_\\h]*+(?![\\w.])",
615+
"name": "constant.numeric.nushell"
616+
},
617+
"numbers-octal": {
618+
"match": "(?<![\\w-])_*+0_*+o_*+[0-7][0-7_]*+(?![\\w.])",
605619
"name": "constant.numeric.nushell"
606620
},
607621
"operators": {
@@ -622,7 +636,7 @@
622636
"name": "keyword.control.nushell"
623637
},
624638
"operators-word": {
625-
"match": "(?<=[ (])(?:mod|in|not-in|not|and|or|xor|bit-or|bit-and|bit-xor|bit-shl|bit-shr|starts-with|ends-with|like|not-like)(?=[ )]|$)",
639+
"match": "(?<=[ (])(?:mod|in|not-(?:in|like|has)|not|and|or|xor|bit-(?:or|and|xor|shl|shr)|starts-with|ends-with|like|has)(?=[ )]|$)",
626640
"name": "keyword.control.nushell"
627641
},
628642
"parameters": {

packages/tm-grammars/grammars/solidity.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,9 @@
700700
{
701701
"include": "#type-modifier-immutable"
702702
},
703+
{
704+
"include": "#type-modifier-transient"
705+
},
703706
{
704707
"include": "#type-modifier-extend-scope"
705708
},
@@ -1146,6 +1149,10 @@
11461149
"match": "\\b(nonpayable|payable)\\b",
11471150
"name": "storage.type.modifier.payable"
11481151
},
1152+
"type-modifier-transient": {
1153+
"match": "\\b(transient)\\b",
1154+
"name": "storage.type.modifier.readonly"
1155+
},
11491156
"type-primitive": {
11501157
"patterns": [
11511158
{

0 commit comments

Comments
 (0)