diff --git a/my_home/.emacs b/my_home/.emacs index f19927f..ac55463 100644 --- a/my_home/.emacs +++ b/my_home/.emacs @@ -10,7 +10,7 @@ ;; If there is more than one, they won't work right. '(custom-enabled-themes '(tango-dark)) '(package-selected-packages - '(flycheck-raku company yasnippet project eglot dockerfile-mode php-mode web-mode kotlin-mode markdown-mode elpher yaml-mode raku-mode emojify))) + '(js2-mode flycheck-raku company yasnippet project eglot dockerfile-mode php-mode web-mode kotlin-mode markdown-mode elpher yaml-mode raku-mode emojify))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. @@ -107,3 +107,6 @@ (setq tab-width 4) (local-set-key (kbd "TAB") 'tab-to-tab-stop) (electric-indent-local-mode -1))) + +;; JS cope +(setq js-switch-indent-offset 4)