Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (16 sloc) 593 Bytes
;;;Add the following custom-set-variables to use 'lazy' modes
(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.
'(js3-lazy-commas t)
'(js3-lazy-operators t)
'(js3-lazy-dots t)
'(js3-expr-indent-offset 2)
'(js3-paren-indent-offset 2)
'(js3-square-indent-offset 2)
'(js3-curly-indent-offset 2)
)
(autoload 'js3-mode "js3-mode" nil t)
(add-to-list 'auto-mode-alist '("\\.js$" . js3-mode))