diff options
author | Alan Pearce | 2022-06-23 23:57:50 +0200 |
---|---|---|
committer | Alan Pearce | 2022-06-23 23:57:50 +0200 |
commit | d0ef97c29db5c4f915c1a3717c9118d7ed958455 (patch) | |
tree | 83ba718e28735b4824f2dff95cbd5f0ec7cac851 | |
parent | 85e5ec5e21dc780a8da3194be221dcec53127969 (diff) | |
download | nixfiles-d0ef97c29db5c4f915c1a3717c9118d7ed958455.tar.lz nixfiles-d0ef97c29db5c4f915c1a3717c9118d7ed958455.tar.zst nixfiles-d0ef97c29db5c4f915c1a3717c9118d7ed958455.zip |
Emacs: configure company-tide to not clobber company-backends
-rw-r--r-- | user/emacs/init.el | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index 9626e386..682ca71f 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -1001,12 +1001,7 @@ _p_rev _u_pper _=_: upper/lower _r_esolve :init (progn (setq tide-completion-setup-company-backend nil) (flycheck-add-next-checker 'typescript-tide 'javascript-eslint) - (company-set-secondary-backend-for-mode typescript-mode 'company-tide)) - :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))))) + (company-set-secondary-backend-for-mode typescript-mode 'company-tide))) ;;;; Reformat on save |