Microsoft/monaco-editor

Lua syntax colorization not working properly [Bug]

Open

#3.444 geöffnet am 1. Dez. 2022

Auf GitHub ansehen
 (0 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)JavaScript (1.283 Forks)batch import
bughelp wantedlanguages-basic

Repository-Metriken

Stars
 (14.836 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 6h 26m) (15 gemergte PRs in 30 T)

Beschreibung

Reproducible in vscode.dev or in VS Code Desktop?

  • Not reproducible in vscode.dev or VS Code Desktop

Reproducible in the monaco editor playground?

Monaco Editor Playground Code

monaco.editor.create(document.getElementById('container'), {
	value: "local string = \"Hello World\"\nlocal string_2 = [[Hello World]]\nlocal string_3 = [===[Hello World]===]",
	language: 'lua'
});

Reproduction Steps

Run the Monaco Editor playground code.

Actual (Problematic) Behavior

You will see "string_2" and "string_3" don't get string syntax colorization like in vscode.

Expected Behavior

Nested brackets string should have a syntax colorization like quotes.

Additional Context

No response

Contributor Guide