Download sd-webui-lobe-theme/src/modules/PromptHighlight/prompt.tmLanguage.json from imspidey/ThemeSD: direct link, hf CLI and curl.
- Browser
- Download file 951 Bytes
-
https://huggingface.co/imspidey/ThemeSD/resolve/main/sd-webui-lobe-theme/src/modules/PromptHighlight/prompt.tmLanguage.json
- Command line
-
hf download hf://imspidey/ThemeSD/sd-webui-lobe-theme/src/modules/PromptHighlight/prompt.tmLanguage.json
-
curl -L -o prompt.tmLanguage.json https://huggingface.co/imspidey/ThemeSD/resolve/main/sd-webui-lobe-theme/src/modules/PromptHighlight/prompt.tmLanguage.json
951 Bytes
| { | |
| "$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json", | |
| "fileTypes": ["prompt"], | |
| "name": "prompt", | |
| "patterns": [ | |
| { | |
| "match": "[,]", | |
| "name": "comma" | |
| }, | |
| { | |
| "match": "[:|]", | |
| "name": "func" | |
| }, | |
| { | |
| "match": "AND", | |
| "name": "and" | |
| }, | |
| { | |
| "match": "<([^:]+):([^:]+):([^>]+)>", | |
| "captures": { | |
| "0": { | |
| "name": "model-bracket" | |
| }, | |
| "1": { | |
| "name": "model-type" | |
| }, | |
| "2": { | |
| "name": "model-name" | |
| }, | |
| "3": { | |
| "name": "number" | |
| } | |
| } | |
| }, | |
| { | |
| "match": "[<|>]", | |
| "name": "model-bracket" | |
| }, | |
| { | |
| "match": "[(|)|\\[|\\]|{|}]", | |
| "name": "bracket" | |
| }, | |
| { | |
| "match": "\\d+(\\.\\d+)?", | |
| "name": "number" | |
| }, | |
| { | |
| "match": "__.*__", | |
| "name": "wildcards" | |
| } | |
| ], | |
| "scopeName": "source.prompt" | |
| } | |