Microsoft/monaco-editor

JavaScript syntax highlighting misidentifies `get` as a reserved keyword

Open

#2.676 geöffnet am 29. Sept. 2021

Auf GitHub ansehen
 (0 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

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