From 28bc2da29975cd536cea92bb21f2e393e25bce71 Mon Sep 17 00:00:00 2001 From: PHO Date: Thu, 27 Apr 2017 16:57:19 +0900 Subject: [PATCH] Auto commit by The Sugar System. --- dot-files/_emacs_el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dot-files/_emacs_el b/dot-files/_emacs_el index 87d2aec..c3dd61a 100644 --- a/dot-files/_emacs_el +++ b/dot-files/_emacs_el @@ -294,6 +294,11 @@ Will prompt you shell name when you type `C-u' before this command." t) (add-to-list 'auto-mode-alist '("\\.js$" . js2-mode)) (add-to-list 'auto-mode-alist '("\\.json$" . javascript-mode)) +;; typescript +(autoload 'typescript-mode "typescript-mode" + "Major mode for editing typescript." t) +(add-to-list 'auto-mode-alist '("\\.ts$" . typescript-mode)) + ;; vimrc (autoload 'vimrc-mode "vimrc-mode" "Major mode for editing `.vimrc', `xxx.vim' and `.exrc' files." t) -- 2.40.0