summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2014-06-26 11:42:59 +0100
committerAlan Pearce2014-06-26 11:42:59 +0100
commitbd365b200052448d0df1e53cc4949c3923710ecc (patch)
tree443d577c050bc2ec419bf4c58e695c2b36b0efc0
parent5e2fa4e77e3f6af0707336b3f0b7e72f7d2c9335 (diff)
downloaddotfiles-bd365b200052448d0df1e53cc4949c3923710ecc.tar.lz
dotfiles-bd365b200052448d0df1e53cc4949c3923710ecc.tar.zst
dotfiles-bd365b200052448d0df1e53cc4949c3923710ecc.zip
Emacs: show completions from multiple backends
Now gtags candidates can be shown alongside native php candidates, for
example.
-rw-r--r--tag-emacs/emacs.d/init.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 3166878..5da868e 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -190,7 +190,9 @@
   :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