Lil tweak for stupid JS

This commit is contained in:
swagg boi 2024-06-25 19:52:51 -04:00
parent 9a7dc484e6
commit c2a7ade831

View file

@ -10,7 +10,7 @@
;; If there is more than one, they won't work right. ;; If there is more than one, they won't work right.
'(custom-enabled-themes '(tango-dark)) '(custom-enabled-themes '(tango-dark))
'(package-selected-packages '(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
;; custom-set-faces was added by Custom. ;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.
@ -107,3 +107,6 @@
(setq tab-width 4) (setq tab-width 4)
(local-set-key (kbd "TAB") 'tab-to-tab-stop) (local-set-key (kbd "TAB") 'tab-to-tab-stop)
(electric-indent-local-mode -1))) (electric-indent-local-mode -1)))
;; JS cope
(setq js-switch-indent-offset 4)