From d0ef97c29db5c4f915c1a3717c9118d7ed958455 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 23 Jun 2022 23:57:50 +0200 Subject: Emacs: configure company-tide to not clobber company-backends --- user/emacs/init.el | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'user') 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 -- cgit 1.4.1