[Top][All Lists]

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

[elpa] master f4e075f 047/271: Readme updates.

From: Jackson Ray Hamilton
Subject: [elpa] master f4e075f 047/271: Readme updates.
Date: Thu, 05 Feb 2015 18:29:40 +0000

branch: master
commit f4e075fded504072ce16a4183f8dd0f500673274
Author: Jackson Ray Hamilton <address@hidden>
Commit: Jackson Ray Hamilton <address@hidden>

    Readme updates.
 README.md |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 3f41308..f5a4519 100644
--- a/README.md
+++ b/README.md
@@ -5,8 +5,14 @@
 Highlights JavaScript code according to function context. Code in the global
-scope is white, code in functions within the global scope is yellow, code 
-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]: 

reply via email to

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