No matter what I do, the customizations I apply to js2-mode are not going into effect. The mode is on and working, but with default settings. I've tried changing the default-tab-width to 2 and changing the indent behavior for switch blocks (indented case lines are turned off by default). I'm using Emacs 24.4.1.
Here are the relevant parts from my .emacs:
(add-hook 'js-mode-hook 'js2-minor-mode) (add-hook 'js2-mode-hook 'ac-js2-mode) ;; add auto-complete suggestions (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(js2-basic-offset 2) '(js2-indent-switch-body t))