summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 7a4cfbf8..1424b655 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -908,6 +908,10 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
   :config (setq add-node-modules-max-depth 6)
   :ghook ('(js2-mode-hook typescript-mode-hook) #'add-node-modules-path))
 
+(use-package tide
+  :after (typescript-mode company flycheck)
+  :ghook ('typescript-mode-hook #'tide-setup))
+
 ;;;; Reformat on save
 
 (use-package prettier-js