summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el4
-rw-r--r--user/settings/emacs.nix1
2 files changed, 5 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
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index f2b1f525..b037cacc 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -167,6 +167,7 @@ in
       scss-mode
       spacemacs-theme
       swiper
+      tide
       toml-mode
       typescript-mode
       undo-tree