From 13f00fb90dd3958e912350ea5f75a11831a91259 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Thu, 30 Mar 2023 09:37:46 -0400 Subject: [PATCH] Configure typescript-mode --- emacs/.emacs.d/config/init-js.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/emacs/.emacs.d/config/init-js.el b/emacs/.emacs.d/config/init-js.el index b656f0d..e242a69 100644 --- a/emacs/.emacs.d/config/init-js.el +++ b/emacs/.emacs.d/config/init-js.el @@ -52,4 +52,10 @@ "C-c C-k" #'js-send-buffer "C-c M-z" #'js-send-buffer-and-go)) +(use-package typescript-mode + :config + (add-hook 'typescript-mode-hook #'lsp-deferred) + :custom + (typescript-indent-level 2)) + (provide 'init-js)