Microsoft/monaco-editor

JavaScript syntax highlighting misidentifies `get` as a reserved keyword

Open

#2,676 opened on Sep 29, 2021

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (1,283 forks)batch import
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/ image

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);

Contributor guide