Update TypeScript indent width

This commit is contained in:
2026-07-05 20:07:02 -07:00
parent 9a563234ce
commit aee9c876ae
+2
View File
@@ -2144,6 +2144,8 @@ This is :around advice, so OLDFUN is the real function
(use-package typescript-ts-mode (use-package typescript-ts-mode
:ensure nil :ensure nil
:hook (typescript-ts-mode . my/eglot-if-trusted) :hook (typescript-ts-mode . my/eglot-if-trusted)
:custom
(typescript-ts-mode-indent-offset 4)
:init :init
(add-to-list 'auto-mode-alist `(,(rx ".ts" eos) . typescript-ts-mode)) (add-to-list 'auto-mode-alist `(,(rx ".ts" eos) . typescript-ts-mode))
:config :config