1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-22 08:35:39 +01:00

Added ECMAScript 2015/6/7 keywrods and types to the two JavaScript syntac files.

This commit is contained in:
Huub de Beer 2017-07-16 13:49:51 +02:00
parent 86d6ce6dfd
commit 1cabaa8e07

View File

@ -12,7 +12,7 @@ color cyan "\<(import|as|from|export)\>"
color cyan "\<(const|let|class|extends|get|set|of|async|await|yield)\>" color cyan "\<(const|let|class|extends|get|set|of|async|await|yield)\>"
color brightcyan "\<(true|false)\>" color brightcyan "\<(true|false)\>"
color green "\<(Array|Boolean|Date|Enumerator|Error|Function|Math)\>" color green "\<(Array|Boolean|Date|Enumerator|Error|Function|Math)\>"
color green "\<(Map|WeakMap|Set|WeakSet|Promise)\>" color green "\<(Map|WeakMap|Set|WeakSet|Promise|Symbol)\>"
color green "\<(Number|Object|RegExp|String)\>" color green "\<(Number|Object|RegExp|String)\>"
color red "[-+/*=<>!~%?:&|]" color red "[-+/*=<>!~%?:&|]"
color magenta "/[^*]([^/]|(\\/))*[^\\]/[gim]*" color magenta "/[^*]([^/]|(\\/))*[^\\]/[gim]*"