diff --git a/workflows/typescript-custom.el b/workflows/typescript-custom.el index b828c4b..8bb128a 100644 --- a/workflows/typescript-custom.el +++ b/workflows/typescript-custom.el @@ -22,8 +22,8 @@ ;;; Code: -(add-to-list 'auto-mode-alist '("\\.ts\\" . typescript-ts-mode)) -(add-to-list 'auto-mode-alist '("\\.spec.*.ts\\" . typescript-ts-mode)) +(add-to-list 'auto-mode-alist '("\\.ts\\'" . typescript-ts-mode)) +(add-to-list 'auto-mode-alist '("\\.spec.*.ts\\'" . typescript-ts-mode)) (use-package tide :init