Microsoft/monaco-editor

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

Open

#3,123 opened on 2022年5月31日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)JavaScript (1,283 forks)batch import
buggrammarshelp wanted

Repository metrics

Stars
 (14,836 stars)
PR merge metrics
 (平均マージ 6h 26m) (30d で 15 merged PRs)

説明

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

コントリビューターガイド