diff options
author | Alan Pearce | 2014-06-26 11:42:59 +0100 |
---|---|---|
committer | Alan Pearce | 2014-06-26 11:42:59 +0100 |
commit | bd365b200052448d0df1e53cc4949c3923710ecc (patch) | |
tree | 443d577c050bc2ec419bf4c58e695c2b36b0efc0 /tag-emacs/emacs.d | |
parent | 5e2fa4e77e3f6af0707336b3f0b7e72f7d2c9335 (diff) | |
download | dotfiles-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.
Diffstat (limited to 'tag-emacs/emacs.d')
-rw-r--r-- | tag-emacs/emacs.d/init.el | 4 |
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 |