diff options
author | Alan Pearce | 2020-07-16 14:10:25 +0200 |
---|---|---|
committer | Alan Pearce | 2020-07-16 14:10:25 +0200 |
commit | 12b130763103f0a0d8cd8e900593a18c4a23f02a (patch) | |
tree | 1c02136ab3ec6e9c99c7c3f5abab3c4448ef8e53 | |
parent | 1a8a9b13238ecec0decdbf1f2255ab15681711c0 (diff) | |
download | nixfiles-12b130763103f0a0d8cd8e900593a18c4a23f02a.tar.lz nixfiles-12b130763103f0a0d8cd8e900593a18c4a23f02a.tar.zst nixfiles-12b130763103f0a0d8cd8e900593a18c4a23f02a.zip |
Emacs: fix company configuration (broken by tide load side-effects)
https://github.com/ananthakumaran/tide/pull/384
-rw-r--r-- | user/emacs/init.el | 7 |
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 |