Take the tour ×  I think standard highlighting is useful -- to
some extent. When programming with callbacks and nested
structures, this does not help. Keywords and strings, they
appear everywhere, and it helps when they are shown in a
distinct color, but these colors gives no clue about in which
scope I am, where I am in a lexical standpoint.  I have heard of
context highlighting, in a talk of Douglas Crockford, which I
can't remember a url to. The idea is, to highlight lexical
levels of scope. Toplevel definitions are colored in color0,
inner level block statements are colored in color1, and this
repeats recursively every time a new level of scope is
introduced. Below is an example for this, using some imaginary
node libraries. (Now added a (ish (or scheme lisp)) example)
Example. Pseudo Scheme Multi-Paren Example  This is not
necessarily for node or javascript. I wonder if there is an
editor/vim plugin implementing this kind of feature. I don't
know if context highlighting is the word for this, but I can't