Compare commits
No commits in common. "4aca751165caa5c4507623750f00be70e1679d32" and "b9b4d04bbbd1dc723dd349ac77497c4946dc7f3d" have entirely different histories.
4aca751165
...
b9b4d04bbb
1 changed files with 4 additions and 5 deletions
|
|
@ -22,8 +22,9 @@
|
|||
|
||||
;;; Code:
|
||||
|
||||
(add-to-list 'auto-mode-alist '("\\.ts\\" . typescript-ts-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.spec.*.ts\\" . typescript-ts-mode))
|
||||
;; More consistent than typescript-ts-mode atm
|
||||
(use-package typescript-mode
|
||||
:hook (typescript-mode . eglot-ensure))
|
||||
|
||||
(use-package tide
|
||||
:init
|
||||
|
|
@ -39,9 +40,7 @@
|
|||
(add-hook 'before-save-hook 'tide-format-before-save)
|
||||
|
||||
;; For typescript-mode
|
||||
(add-hook 'typescript-ts-mode-hook #'setup-tide-mode))
|
||||
|
||||
(add-hook 'typescript-ts-mode #'combobulate-mode)
|
||||
(add-hook 'typescript-mode-hook #'setup-tide-mode))
|
||||
|
||||
(provide 'typescript-custom)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue