X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=sugar.git;a=blobdiff_plain;f=dot-files%2F_emacs_el;h=c3dd61a5f5c7f7199d371f5edc23d2f29c2e13ca;hp=87d2aec2a020a5b042e49a14f297696bfc6257ef;hb=28bc2da29975cd536cea92bb21f2e393e25bce71;hpb=87e6e1c93f648a6cc5ecb71bb6d2fd6b7df87dc1 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)