(cond
;; Just colorize the changed region.
(context-coloring-changed-p
- (let* ( ;; Prevent `beginning-of-defun' from making poor assumptions.
+ (let* (;; Prevent `beginning-of-defun' from making poor assumptions.
(open-paren-in-column-0-is-defun-start nil)
;; Seek the beginning and end of the previous and next
;; offscreen defuns, so just enough is colored.
"\\)")
"Match a comment body hinting at a Node.js program.")
-;; TODO: Add ES6 module detection.
(defun context-coloring-js2-top-level-local-p ()
"Guess whether top-level variables are local.
For instance, the current file could be a Node.js program."