branch: master commit 765d4c4c8550ecdad744064cfacc4938d8fb89f7 Author: Jackson Hamilton <jack...@jacksonrayhamilton.com> Commit: Jackson Hamilton <jack...@jacksonrayhamilton.com>
Document new scope detection. --- README.md | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/README.md b/README.md index 685046c..713459d 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ By default, comments and strings are still highlighted syntactically. - Light and dark customizable color schemes. - JavaScript support: - Script, function and block scopes (and even `catch` block scopes). + - Node.js "file-level" scope detection. - Emacs Lisp support: - `defun`, `lambda`, `let`, `let*`, `cond`, `condition-case`, `defadvice`, `dolist`, `quote`, `backquote` and backquote splicing. @@ -76,3 +77,5 @@ some color schemes for popular custom themes. strings using `font-lock`. - `context-coloring-javascript-block-scopes` (default: `nil`): If non-nil, also color block scopes in the scope hierarchy in JavaScript. +- `context-coloring-javascript-detect-top-level-scope` (default: `t`): If + non-nil, detect when to use file-level scope.