Skip to content

Commit

Permalink
auto-completion layer: SPC t a toggle company backend by default
Browse files Browse the repository at this point in the history
  • Loading branch information
syl20bnr committed May 15, 2015
1 parent ae343bb commit 54ee743
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions contrib/auto-completion/funcs.el
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,13 @@

(spacemacs|add-toggle auto-completion
:status
(if (eq 'company auto-completion-front-end)
company-mode
auto-complete-mode)
(if (boundp 'auto-completion-front-end)
(if (eq 'company auto-completion-front-end)
company-mode
auto-complete-mode)
;; default completion hardcoded to be company for now
(setq auto-completion-front-end 'company)
nil)
:on
(progn
(if (eq 'company auto-completion-front-end)
Expand Down

0 comments on commit 54ee743

Please sign in to comment.