nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] [PATCH] syntax: javascript: add newer keywords/syntax


From: Benno Schulenberg
Subject: Re: [Nano-devel] [PATCH] syntax: javascript: add newer keywords/syntax
Date: Tue, 19 Dec 2017 19:58:26 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0


Op 18-12-17 om 20:26 schreef Mike Frysinger:
-color green "\<(const|function|let|this|typeof|var|void)\>"
+color green 
"\<(async|await|class|const|export|extends|function|import|let|this|typeof|var|void)\>"
  color brightyellow "\<(for|if|while|with|do|else|case|default|switch)\>"
  color brightyellow "\<(export|try|throw|catch|new|delete)\>"

This duplicates the word "export".  I'm guessing that "import" and "export"
should preferably have the same color.  So... should "import" be moved to
the brightyellow, or should "export" be removed from it?

Benno



reply via email to

[Prev in Thread] Current Thread [Next in Thread]