emacs: enable typescript-ts-mode
This commit is contained in:
@@ -600,7 +600,8 @@ frame if FRAME is nil, and to 1 if AMT is nil."
|
|||||||
("S-<tab>" . company-complete))
|
("S-<tab>" . company-complete))
|
||||||
:hook ((python-mode . eglot-ensure)
|
:hook ((python-mode . eglot-ensure)
|
||||||
(scala-mode . eglot-ensure)
|
(scala-mode . eglot-ensure)
|
||||||
(scala-ts-mode . eglot-ensure))
|
(scala-ts-mode . eglot-ensure)
|
||||||
|
(typescript-ts-mode . eglot-ensure))
|
||||||
:config
|
:config
|
||||||
;; Eglot faces
|
;; Eglot faces
|
||||||
(set-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-array-face ((t (:foreground "#5555ff" :weight bold))))
|
||||||
'(cperl-hash-face ((t (:foreground "orange" :slant italic :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
|
;; --- Other Programming Languages
|
||||||
;; -----------------------------------------------------------------------------
|
;; -----------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user