summary refs log tree commit diff stats
path: root/user/emacs/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'user/emacs/init.el')
-rw-r--r--user/emacs/init.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 5261d625..6c701bf3 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -915,7 +915,12 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
 
 (use-package tide
   :after (typescript-mode company flycheck)
-  :ghook ('typescript-mode-hook #'tide-setup))
+  :ghook ('typescript-mode-hook #'tide-setup)
+  :config (progn
+            ;; loading this package has the annoying effect of breaking my company configuration
+            ;; upstream fix: https://github.com/ananthakumaran/tide/pull/384
+            (when (eq (car company-backends) 'company-tide)
+              (setq company-backends (remq 'company-tide company-backends)))))
 
 ;;;; Reformat on save