Use the new exclusion feature for company contrib

This commit is contained in:
Tristan Hume 2014-11-19 20:44:17 -05:00
parent 5979724964
commit 9e874f5e6b
2 changed files with 6 additions and 6 deletions

View file

@ -1,11 +1,7 @@
# Company Mode
In order to use this you should disable the default `auto-complete` package plus everything that depends on it:
```elisp
(setq-default dotspacemacs-excluded-packages
'(auto-complete ac-ispell tern-auto-complete auto-complete-clang enslime edts))
```
This contrib layer switches spacemacs to use company-mode for autocompletion.
It automatically uninstalls all auto-complete-mode related packages when you include it.
## Clang Fanciness

View file

@ -4,6 +4,10 @@
company-tern
))
(defvar company-mode-excluded-packages
'(auto-complete ac-ispell tern-auto-complete auto-complete-clang ensime edts)
"Packages that use auto-complete that are no longer necessary and might conflict.")
(defun company-mode/init-company ()
(use-package company
:config