Commit graph

12 commits

Author SHA1 Message Date
Eivind Fonn
0f979d3cea Better indentation for add-toggle 2015-07-27 12:09:27 -04:00
syl20bnr
68eb5fcc35 auto-completion layer: SPC t a toggle company backend by default
fixes #1289
2015-05-10 10:52:39 -04:00
syl20bnr
640d8fc19c auto-completion layer: improve implementation of key sequence to complete
default value `auto-completion-complete-with-key-sequence` is now nil
resolves conflict with evil-escape
fixes #1491
2015-05-05 22:32:28 -04:00
syl20bnr
441fa05f12 auto-completion layer: new UX variables 2015-05-04 00:14:25 -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
f04412893e Change company macro name and use push 2015-04-08 12:39:25 -04:00
Tristan Hume
ad86ab8fb1 Add a helper for simple company initialization.
Adds the spacemacs|init-layer-company helper to set up company
completion for a language layer and replaces existing simple company
initializations. More complex initializations should use the new
architecture directly and remain untouched by this commit.
2015-04-07 15:21:13 -04:00
syl20bnr
106909d1bc Change auto-completion toggle message 2015-04-05 23:52:34 -04:00
syl20bnr
de4a2db6bc Fix enable company and auto-complete macros 2015-04-04 00:57:09 -04:00
syl20bnr
25316d6a00 auto-completion layer: Fix typo in funcs.el 2015-04-03 22:08:51 -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
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