]> code.delx.au - gnu-emacs-elpa/commitdiff
Readme updates.
authorJackson Ray Hamilton <jackson@jacksonrayhamilton.com>
Fri, 21 Nov 2014 11:07:05 +0000 (03:07 -0800)
committerJackson Ray Hamilton <jackson@jacksonrayhamilton.com>
Fri, 21 Nov 2014 11:07:05 +0000 (03:07 -0800)
README.md

index 3f41308ed95ecf0c0b39c0720e74626d2f0ea4fc..f5a45199fa2596600cf661741dad953883fb5f96 100644 (file)
--- a/README.md
+++ b/README.md
@@ -5,8 +5,14 @@
 </p>
 
 Highlights JavaScript code according to function context. Code in the global
-scope is white, code in functions within the global scope is yellow, code within
-such functions is green, etc. Comments are grey.
+scope is white. Code in functions within the global scope is yellow, and code
+within such functions is green, etc. Identifiers retain the color of the scope
+in which they were defined. Comments are gray.
+
+This coloring scheme is probably more useful than conventional JavaScript
+*syntax* highlighting. Lexical scope information at-a-glance is probably more
+useful than detecting if you spelled "function" wrong, or determing that you
+forgot to close a string literal. (A [linter][] would serve you better.)
 
 ## Usage
 
@@ -22,5 +28,6 @@ Requires Emacs 24+ and [Node.js 0.10+][node].
 (add-hook 'js-mode-hook 'context-coloring-mode)
 ```
 
+[linter]: https://github.com/jacksonrayhamilton/jslinted
 [node]: http://nodejs.org/download/
 [load path]: https://www.gnu.org/software/emacs/manual/html_node/emacs/Lisp-Libraries.html