-
Notifications
You must be signed in to change notification settings - Fork 4k
Open
Description
Reproducible in vscode.dev or in VS Code Desktop?
- Not reproducible in vscode.dev or VS Code Desktop
Reproducible in the monaco editor playground?
- Not reproducible in the monaco editor playground
Monaco Editor Playground Link
Monaco Editor Playground Code
const value = /* set from `myEditor.getModel()`: */ `#!/bin/bash
GIT_REPO=git@github.com:xxx/yyy.git
GIT_HOST= \$(echo "\$GIT_REPO" | sed -E 's/^.*@([^:/]+).*\$/\\1/')
DIR_NAME=\$(basename "\$GIT_REPO" .git)
cd /app/\${DIR_NAME}
git pull
pnpm install
rm -rf packages/e2e/test-results`;
// Hover on each property to see its docs!
const myEditor = monaco.editor.create(document.getElementById("container"), {
value,
language: "shell",
automaticLayout: true,
});Reproduction Steps
open reproduction link in the monaco editor playground
Actual (Problematic) Behavior
after GIT_HOST= $(echo "$GIT_REPO" | sed -E 's/^.*@([^:/]+).*$/\1/')
code color is not correct
Expected Behavior
Additional Context
work as expected on vscode.dev

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
