Microsoft/monaco-editor
View on GitHubJavaScript syntax highlighting misidentifies `get` as a reserved keyword
Open
#2,676 opened on Sep 29, 2021
buggrammarshelp wanted
Repository metrics
- Stars
- (14,836 stars)
- PR merge metrics
- (Avg merge 6h 26m) (15 merged PRs in 30d)
Description
https://microsoft.github.io/monaco-editor/

Within Javascript files, the word "get" is highlighted as a reserved word when it shouldn't.
Browser: Checked on Chrome, Mozilla Firefox and MS Edge
import get from 'lodash/get';
const id = get(param1, param2);