pinwheel: Use typescript-ts-mode for typescript in emacs

This commit is contained in:
Alexander Heldt
2023-11-24 17:37:46 +01:00
parent 9812dc7348
commit 215eb3f797
2 changed files with 7 additions and 1 deletions

View File

@@ -495,6 +495,7 @@ Setup prefix for keybindings.
(javascript-mode . eglot-ensure)
(js-mode . eglot-ensure)
(js-jsx-mode . eglot-ensure)
(typescript-ts-mode . eglot-ensure)
(rust-mode . eglot-ensure)
)
)
@@ -546,6 +547,8 @@ Setup prefix for keybindings.
(setq
js-indent-level 2
js2-basic-offset 2)
(add-to-list 'auto-mode-alist '("\\.ts\\'" . typescript-ts-mode))
#+END_SRC
** Rust
#+BEGIN_SRC emacs-lisp