From 86d6ce6dfde8d2e5541459ee12488adcab917978 Mon Sep 17 00:00:00 2001 From: Huub de Beer Date: Sun, 16 Jul 2017 13:48:35 +0200 Subject: [PATCH] Added ECMAScript 2015/6/7 keywrods and types to the two JavaScript syntac files. --- javascript.nanorc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript.nanorc b/javascript.nanorc index b541c38..b3bc951 100644 --- a/javascript.nanorc +++ b/javascript.nanorc @@ -9,7 +9,7 @@ color cyan "\<(for|function|get|if|in|instanceof|new|return|set|switch)\>" color cyan "\<(switch|this|throw|try|typeof|var|void|while|with)\>" color cyan "\<(null|undefined|NaN)\>" color cyan "\<(import|as|from|export)\>" -color cyan "\<(const|let|class|extends|get|set|of|async|await)\>" +color cyan "\<(const|let|class|extends|get|set|of|async|await|yield)\>" color brightcyan "\<(true|false)\>" color green "\<(Array|Boolean|Date|Enumerator|Error|Function|Math)\>" color green "\<(Map|WeakMap|Set|WeakSet|Promise)\>"