branch: externals/js2-mode
commit 3a80b00b477ca39c1d2bb2edf99191004c8696ca
Author: Jimmy Yuen Ho Wong <wyue...@gmail.com>
Commit: Jimmy Yuen Ho Wong <wyue...@gmail.com>

    use type face for class
---
 js2-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/js2-mode.el b/js2-mode.el
index c05be21..64cc72c 100644
--- a/js2-mode.el
+++ b/js2-mode.el
@@ -10887,7 +10887,7 @@ If ONLY-OF-P is non-nil, only the 'for (foo of bar)' 
form is allowed."
         (_ (js2-must-match-name "msg.unnamed.class.stmt"))
         (name (js2-create-name-node t)))
     (js2-set-face (js2-node-pos name) (js2-node-end name)
-                  'font-lock-function-name-face 'record)
+                  'font-lock-type-face 'record)
     (let ((node (js2-parse-class pos 'CLASS_STATEMENT name)))
       (js2-record-imenu-functions node name)
       (js2-define-symbol js2-FUNCTION

Reply via email to