diff options
| author | 2026-09-22 17:13:51 -0700 | |
|---|---|---|
| committer | 2026-09-22 17:13:51 -0700 | |
| commit | c0ae01b942ee1682a2866d23ac3d23350cc9bcc2 (patch) | |
| tree | 1dca0777af009a7d08e2df22f7efbce073d51fb6 | |
| parent | 2986c51b75127eb54f478c06795e63298b2e7099 (diff) | |
| download | new-dotfiles-c0ae01b942ee1682a2866d23ac3d23350cc9bcc2.tar.gz new-dotfiles-c0ae01b942ee1682a2866d23ac3d23350cc9bcc2.zip | |
emacs: Add support for TypeScript files
| -rw-r--r-- | emacs/.emacs.d/init.org | 10 | ||||
| -rw-r--r-- | oni/home/config/data.scm | 5 |
2 files changed, 14 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index bed40b1..10e1a98 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -1456,3 +1456,13 @@ Dynamic abbreviations are one of the completion mechanisms that Emacs supports. (setq dabbrev-case-distinction nil) (setq dabbrev-case-fold-search t)) #+end_src + +* Typescript + +Emacs comes with built-in typescript mode. + +#+begin_src emacs-lisp + (use-package typescript-ts-mode + :ensure nil + :mode (rx ".ts" eos)) +#+end_src diff --git a/oni/home/config/data.scm b/oni/home/config/data.scm index d6023a1..0fa3718 100644 --- a/oni/home/config/data.scm +++ b/oni/home/config/data.scm @@ -56,7 +56,10 @@ "emacs-fennel-mode" "fennel-ls" "fnlfmt" - "emacs-org-caldav")) + "emacs-org-caldav" + + ;; Includes tree-sitter-tsx + "tree-sitter-typescript")) (list pick-random-wallpaper emacs-org-contacts |
