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)