Microsoft/monaco-editor

[Bug] `int` in Rust highlighted as a type

Open

#3.123 geöffnet am 31. Mai 2022

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (1.283 Forks)batch import
buggrammarshelp wanted

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: "fn int() {}\nfn other() {}",
	language: 'rust'
});

Actual Behavior

int highlighted as a type.

Expected Behavior

int not highlighted as a type.

Additional Context

No response

Contributor Guide