What steps will reproduce the problem?
1. Turn on js2-mode (`M-x js2-mode`)
2. Check that comments and JSDoc comments are highlighted properly
3. Turn on show-whitespace-mode (`M-x show-whitespace-mode`)
4. Just in case run `M-x font-lock-fontify-buffer`
What is the expected output? What do you see instead?
Comments are not syntax highlighted at all, and use default face. Instead
of using `font-lock-comment-face` they have 'nil' face (checked with text
properties from menu).
What version of the product are you using? On what operating system?
js2-mode version 20090723, show-whitespace-mode 2.1, GNU Emacs 21.4.1
(i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars), GNU/Linux
2.6.14-11.1.aur.2
Please provide any additional information below.
Excerpt from ~/.emacs
(global-font-lock-mode t)
(setq font-lock-support-mode 'lazy-lock-mode)
(setq font-lock-maximum-decoration t)
(custom-set-variables
'(global-font-lock-mode t nil (font-lock)))
(custom-set-faces
'(show-ws-spaces ((((class color)) (:background "Ivory1"))))
'(show-ws-tabs ((((class color)) (:background "LemonChiffon1"))))
'(show-ws-unbr-spaces ((((class color)) (:background "LemonChiffon2")))))
Original issue reported on code.google.com by jna...@gmail.com on 30 Jul 2009 at 1:55
Original issue reported on code.google.com by
jna...@gmail.com
on 30 Jul 2009 at 1:55