js2-mode: indent switch cases
This commit is contained in:
parent
60c0c69738
commit
cb94e203b3
1 changed files with 2 additions and 1 deletions
|
@ -19,7 +19,8 @@
|
||||||
(setq js2-additional-externs '("LaunchBar" "File" "Action" "HTTP" "include" "Lib"))))
|
(setq js2-additional-externs '("LaunchBar" "File" "Action" "HTTP" "include" "Lib"))))
|
||||||
|
|
||||||
;; [pedantry intensifies]
|
;; [pedantry intensifies]
|
||||||
(add-hook! js2-mode (setq mode-name "JS2"))
|
(add-hook! js2-mode (setq mode-name "JS2"
|
||||||
|
js-switch-indent-offset js-indent-level))
|
||||||
|
|
||||||
(map! :map js2-mode-map (:localleader :nv ";" 'doom/append-semicolon)))
|
(map! :map js2-mode-map (:localleader :nv ";" 'doom/append-semicolon)))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue