vscode-liquidsoap 0.3.0 → 0.3.1

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/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "publisher": "savonet",
6
6
  "repository": "https://github.com/savonet/vscode-liquidsoap.git",
7
7
  "homepage": "https://github.com/savonet/vscode-liquidsoap",
8
- "version": "0.3.0",
8
+ "version": "0.3.1",
9
9
  "engines": {
10
10
  "vscode": "^1.98.0"
11
11
  },
@@ -370,6 +370,11 @@ contexts:
370
370
  pop: true
371
371
  - match: \\/
372
372
  scope: constant.character.escape.liquidsoap
373
+ - match: '\{([a-z_]*)\|'
374
+ push:
375
+ - meta_scope: string.unquoted.raw.liquidsoap
376
+ - match: '\|\1\}'
377
+ pop: true
373
378
  types:
374
379
  - match: \b(int|float|unit|bool)(?:(\?)|\b)
375
380
  captures:
@@ -1109,6 +1109,14 @@
1109
1109
  <key>name</key>
1110
1110
  <string>string.regexp.liquidsoap</string>
1111
1111
  </dict>
1112
+ <dict>
1113
+ <key>name</key>
1114
+ <string>string.unquoted.raw.liquidsoap</string>
1115
+ <key>begin</key>
1116
+ <string>\{([a-z_]*)\|</string>
1117
+ <key>end</key>
1118
+ <string>\|\1\}</string>
1119
+ </dict>
1112
1120
  </array>
1113
1121
  </dict>
1114
1122
  <key>string-escapes</key>
@@ -527,6 +527,11 @@
527
527
  }
528
528
  ],
529
529
  "name": "string.regexp.liquidsoap"
530
+ },
531
+ {
532
+ "name": "string.unquoted.raw.liquidsoap",
533
+ "begin": "\\{([a-z_]*)\\|",
534
+ "end": "\\|\\1\\}"
530
535
  }
531
536
  ]
532
537
  },