From bd365b200052448d0df1e53cc4949c3923710ecc Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 26 Jun 2014 11:42:59 +0100 Subject: Emacs: show completions from multiple backends Now gtags candidates can be shown alongside native php candidates, for example. --- tag-emacs/emacs.d/init.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 3166878d..5da868ef 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -190,7 +190,9 @@ :bind (("C-" . company-complete)) :init (progn (add-hook 'prog-mode-hook #'company-mode) - (setq company-idle-delay .3 + (setq company-backends '((php-extras-company company-elisp company-bbdb company-nxml company-css company-eclim company-semantic company-clang company-xcode company-ropemacs company-cmake company-capf company-gtags company-dabbrev-code company-etags company-keywords) + company-oddmuse company-files company-dabbrev) + company-idle-delay .3 company-begin-commands '(self-insert-command)))) ;;;; Dates & Times -- cgit 1.4.1