From 3a4bdb0db6920fb3db544583ab10800401a07bb1 Mon Sep 17 00:00:00 2001 From: Patrick Weingaertner Date: Thu, 25 Jul 2019 23:22:15 +0200 Subject: [PATCH] add TODO to JS highlighting --- runtime/syntax/javascript.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/syntax/javascript.yaml b/runtime/syntax/javascript.yaml index dfce4272..244ad811 100644 --- a/runtime/syntax/javascript.yaml +++ b/runtime/syntax/javascript.yaml @@ -20,7 +20,7 @@ rules: - statement: "\\b(for|function|class|extends|get|if|import|from|in|of|instanceof|let|new|return|set)\\b" - statement: "\\b(super|switch|this|throw|try|typeof|var|void|while|with|yield)\\b" # reserved but unassigned - - error: "\\b(enum|implements|interface|package|private|protected|public)" + - error: "\\b(enum|implements|interface|package|private|protected|public|TODO)" - constant: "\\b(null|undefined|NaN)\\b" - constant: "\\b(true|false)\\b" - type: "\\b(Array|Boolean|Date|Enumerator|Error|Function|Math)\\b"