Browse Source

Allow spaces in extra network tokens

pull/165/head
Ionite 1 year ago
parent
commit
3b5691c90f
No known key found for this signature in database
  1. 6
      StabilityMatrix.Avalonia/Assets/ImagePrompt.tmLanguage.json

6
StabilityMatrix.Avalonia/Assets/ImagePrompt.tmLanguage.json

@ -133,7 +133,7 @@
"name": "meta.structure.network.prompt",
"patterns": [
{
"match": "(?<=\\<)([^,:\\<\\> ]+)(:)([^,:\\<\\> ]+)(:)([-+]?\\d+(?:\\.\\d+)?)",
"match": "(?<=\\<)([^,:\\<\\>]+)(:)([^,:\\<\\>]+)(:)([-+]?\\d+(?:\\.\\d+)?)",
"captures": {
"1": {
"name": "meta.embedded.network.type.prompt"
@ -153,7 +153,7 @@
}
},
{
"match": "(?<=\\<)([^,:\\<\\> ]+)(:)([^,:\\<\\> ]+)?",
"match": "(?<=\\<)([^,:\\<\\>]+)(:)([^,:\\<\\>]+)?",
"captures": {
"1": {
"name": "meta.embedded.network.type.prompt"
@ -167,7 +167,7 @@
}
},
{
"match": "(?<=\\<)([^,:\\<\\> ]+)",
"match": "(?<=\\<)([^,:\\<\\>]+)",
"captures": {
"1": {
"name": "meta.embedded.network.type.prompt"

Loading…
Cancel
Save