all repos — nixfiles @ bd365b200052448d0df1e53cc4949c3923710ecc

System and user configuration, managed by nix and home-manager

Emacs: show completions from multiple backends

Now gtags candidates can be shown alongside native php candidates, for
example.
Alan Pearce alan@alanpearce.co.uk
Thu, 26 Jun 2014 11:42:59 +0100
commit

bd365b200052448d0df1e53cc4949c3923710ecc

parent

5e2fa4e77e3f6af0707336b3f0b7e72f7d2c9335

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -190,7 +190,9 @@ :commands (company-mode)   :bind (("C-<tab>" . 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