add TODO to JS highlighting

This commit is contained in:
Patrick Weingaertner 2019-07-25 23:22:15 +02:00
parent 73093f9497
commit 3a4bdb0db6

View file

@ -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"