1
0

emacs: enable typescript-ts-mode

This commit is contained in:
2025-08-13 20:04:13 -07:00
parent d44a684fbb
commit 93288e9bcc

View File

@@ -600,7 +600,8 @@ frame if FRAME is nil, and to 1 if AMT is nil."
("S-<tab>" . company-complete))
:hook ((python-mode . eglot-ensure)
(scala-mode . eglot-ensure)
(scala-ts-mode . eglot-ensure))
(scala-ts-mode . eglot-ensure)
(typescript-ts-mode . eglot-ensure))
:config
;; Eglot faces
(set-faces
@@ -705,6 +706,17 @@ frame if FRAME is nil, and to 1 if AMT is nil."
'(cperl-array-face ((t (:foreground "#5555ff" :weight bold))))
'(cperl-hash-face ((t (:foreground "orange" :slant italic :weight bold)))))
;; -----------------------------------------------------------------------------
;; --- Typescript Languages
;; -----------------------------------------------------------------------------
(use-package typescript-ts-mode
:ensure t
:after eglot
:config
(setq typescript-ts-mode-indent-offset 4))
;; -----------------------------------------------------------------------------
;; --- Other Programming Languages
;; -----------------------------------------------------------------------------