Microsoft/monaco-editor

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

Open

#3123 aperta il 31 mag 2022

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)JavaScript (1283 fork)batch import
buggrammarshelp wanted

Metriche repository

Star
 (14.836 star)
Metriche merge PR
 (Merge medio 6h 26m) (15 PR mergiate in 30 g)

Descrizione

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

Guida contributor