monaco-editor
monaco-editor copied to clipboard
[Bug] Wrong highlight for shell
Reproducible in vscode.dev or in VS Code Desktop?
- [X] Not reproducible in vscode.dev or VS Code Desktop
Reproducible in the monaco editor playground?
- [x] Not reproducible in the monaco editor playground
Monaco Editor Playground Code
Do not use playground to try this. Using home page editor demo to try the following code.
if [[ -z "${MA5800_ALL_DIR:-}" ]]; then
MA5800_ALL_DIR=$(realpath "$(dirname "$0")/../../")
fi
Actual Behavior

So I tried this code in vs-code, the highlight is correct.

Expected Behavior
My expected behavior is the highlight can as same as vs-code
Additional Context
No response
Looks like the last quotation mark is also wrong. We're more than happy to accept a PR for this!
Yes, looks like the last quote make the monarch think the quotation is not finished