Update TypeScript indent width
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user