tm-grammars 1.23.5 → 1.23.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/grammars/nushell.json +24 -3
- package/index.js +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -149,7 +149,7 @@ import { grammars } from 'tm-grammars'
|
|
|
149
149
|
| `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 |
|
|
150
150
|
| `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 |
|
|
151
151
|
| `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/
|
|
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 |
|
|
153
153
|
| `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 |
|
|
154
154
|
| `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 |
|
|
155
155
|
| `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 |
|
package/grammars/nushell.json
CHANGED
|
@@ -334,6 +334,9 @@
|
|
|
334
334
|
{
|
|
335
335
|
"include": "#constant-value"
|
|
336
336
|
},
|
|
337
|
+
{
|
|
338
|
+
"include": "#string-raw"
|
|
339
|
+
},
|
|
337
340
|
{
|
|
338
341
|
"include": "#command"
|
|
339
342
|
},
|
|
@@ -594,7 +597,7 @@
|
|
|
594
597
|
]
|
|
595
598
|
},
|
|
596
599
|
"numbers": {
|
|
597
|
-
"match": "(?<![\\w-])[-+]?(?:\\d+|\\d{1,3}(?:_\\d{3})*)(?:\\.\\d*)?(?i:ns|us|ms|sec|min|hr|day|wk|b|kb|mb|gb|tb|pt|eb|zb|kib|mib|gib|tib|pit|eib|zib)?(?:(?![\\w.])|(?=\\.\\.))",
|
|
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.])|(?=\\.\\.))",
|
|
598
601
|
"name": "constant.numeric.nushell"
|
|
599
602
|
},
|
|
600
603
|
"numbers-hexa": {
|
|
@@ -619,7 +622,7 @@
|
|
|
619
622
|
"name": "keyword.control.nushell"
|
|
620
623
|
},
|
|
621
624
|
"operators-word": {
|
|
622
|
-
"match": "(?<=[ (])(?:mod|in|not-in|not|and|or|xor|bit-or|bit-and|bit-xor|bit-shl|bit-shr|starts-with|ends-with)(?=[ )]|$)",
|
|
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)(?=[ )]|$)",
|
|
623
626
|
"name": "keyword.control.nushell"
|
|
624
627
|
},
|
|
625
628
|
"parameters": {
|
|
@@ -697,6 +700,9 @@
|
|
|
697
700
|
{
|
|
698
701
|
"include": "#string-interpolated-single"
|
|
699
702
|
},
|
|
703
|
+
{
|
|
704
|
+
"include": "#string-raw"
|
|
705
|
+
},
|
|
700
706
|
{
|
|
701
707
|
"include": "#string-bare"
|
|
702
708
|
}
|
|
@@ -718,7 +724,7 @@
|
|
|
718
724
|
"name": "string.quoted.single.nushell"
|
|
719
725
|
},
|
|
720
726
|
"string-bare": {
|
|
721
|
-
"match": "[^$\\[{(\"',|#\\s][^\\[\\]{}()\"'\\s
|
|
727
|
+
"match": "[^$\\[{(\"',|#\\s;][^\\[\\]{}()\"'\\s,|;]*",
|
|
722
728
|
"name": "string.bare.nushell"
|
|
723
729
|
},
|
|
724
730
|
"string-double-quote": {
|
|
@@ -795,6 +801,21 @@
|
|
|
795
801
|
}
|
|
796
802
|
]
|
|
797
803
|
},
|
|
804
|
+
"string-raw": {
|
|
805
|
+
"begin": "r(#+)'",
|
|
806
|
+
"beginCaptures": {
|
|
807
|
+
"0": {
|
|
808
|
+
"name": "punctuation.definition.string.begin.nushell"
|
|
809
|
+
}
|
|
810
|
+
},
|
|
811
|
+
"end": "'\\1",
|
|
812
|
+
"endCaptures": {
|
|
813
|
+
"0": {
|
|
814
|
+
"name": "punctuation.definition.string.end.nushell"
|
|
815
|
+
}
|
|
816
|
+
},
|
|
817
|
+
"name": "string.raw.nushell"
|
|
818
|
+
},
|
|
798
819
|
"string-single-quote": {
|
|
799
820
|
"begin": "'",
|
|
800
821
|
"beginCaptures": {
|
package/index.js
CHANGED
|
@@ -2590,18 +2590,18 @@ export const grammars = [
|
|
|
2590
2590
|
aliases: [
|
|
2591
2591
|
'nu',
|
|
2592
2592
|
],
|
|
2593
|
-
byteSize:
|
|
2593
|
+
byteSize: 18846,
|
|
2594
2594
|
displayName: 'nushell',
|
|
2595
2595
|
funding: [
|
|
2596
2596
|
],
|
|
2597
|
-
hash: '
|
|
2598
|
-
lastUpdate: '
|
|
2597
|
+
hash: 'uibY99O-tSYoc-xQCftsk3G1ZtTNcOO9rXKTcyHrSCI',
|
|
2598
|
+
lastUpdate: '2025-03-24T23:34:41Z',
|
|
2599
2599
|
license: 'MIT',
|
|
2600
2600
|
licenseUrl: 'https://raw.githubusercontent.com/nushell/vscode-nushell-lang/main/LICENSE',
|
|
2601
2601
|
name: 'nushell',
|
|
2602
2602
|
scopeName: 'source.nushell',
|
|
2603
|
-
sha: '
|
|
2604
|
-
source: 'https://github.com/nushell/vscode-nushell-lang/blob/
|
|
2603
|
+
sha: '28ccc907ad4e6bccf252fba4c83cc7f4c00c2161',
|
|
2604
|
+
source: 'https://github.com/nushell/vscode-nushell-lang/blob/28ccc907ad4e6bccf252fba4c83cc7f4c00c2161/syntaxes/nushell.tmLanguage.json',
|
|
2605
2605
|
},
|
|
2606
2606
|
{
|
|
2607
2607
|
aliases: [
|