Commit graph

7 commits

Author SHA1 Message Date
syl20bnr 965dc56817 Re-enable company globally with :defer 2 2015-04-09 01:17:49 -04:00
syl20bnr 0c6682cbd1 Refactor one more time the auto-completin macros
It is important to define the buffer local backend variables
in a config.el otherwise it is not available in the layer
configuration if the auto-completion layer is removed.
There were also some issues by hiding the explicit
configuration of company inside a macro, for instance
helm-spacemacs is unable to display the company package
configured in a given layer if the auto-completion layer
is removed.
2015-04-09 00:03:51 -04:00
Tristan Hume 3ab9cb0af3 Global company temporary stopgap 2015-04-07 12:15:31 -04:00
syl20bnr 5caa5750e0 Rework the toggles of the mode-line
Now the symbol corresponds to the key binding.
The global version of the toggle when available is performed
with `control` modifier.
2015-04-06 16:02:14 -04:00
syl20bnr 57fcb93799 Rename *-declarep functions to *-usedp functions
Makes more sense from a user view point.
2015-04-03 19:13:52 -04:00
syl20bnr 9f3f2b9741 Fix automatic global toggle of auto-complete when loaded 2015-04-03 13:30:26 -04:00
syl20bnr 769d54da02 New layer auto-completion
Move company and auto-complete to a common layer.
They are not enabled globally anymore, each mode using them
must explicitly declare a hook.
Only one frontend is supported for a given mode, we have to
choose the best between the two.
Only one key binding to toggle auto-completion on `SPC t a` no
matter if it is company or auto-complete. The lighter in the
mode-line is Ⓐ for both frontends.
2015-04-03 00:28:13 -04:00