Commit graph

9 commits

Author SHA1 Message Date
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 57fcb93799 Rename *-declarep functions to *-usedp functions
Makes more sense from a user view point.
2015-04-03 19:13:52 -04:00
syl20bnr 318bd23dc4 Add pre and post init functions support to configuration-layers
Now in addition to the <layer>/init-<pkg> function there are
- <layer>/pre-init-<pkg> (executed before <layer>/init-<pkg>)
- <layer>/post-init-<pkg> (executed after <layer>/init-<pkg>)

The init function is mandatory, if it is not present then the
package is ignored and not installed.

This mechanism allows soft (implicit) cross layers dependencies
between packages (see company for more info).

It is now possible to remove flycheck from spacemacs layer and
move it to its own syntax-checking layer.
2015-04-03 17:12:56 -04:00
syl20bnr 46248b1e73 New local company backends 2015-03-31 22:24:01 -04:00
syl20bnr 0fa0409523 Restore reset of local company-backends and add with-yas param 2015-03-30 00:48:41 -04:00
Tristan Hume cb43a91a15 Add company backend add macro and use it everywhere 2015-03-30 00:01:33 -04:00
syl20bnr c5aa369f67 Fix csharp layer key bindings doc, format and sort them 2015-01-30 21:58:51 -05:00
Bjarke Vad 3b83124fc0 Added support for C# using OmniSharp 2015-01-30 21:13:43 -05:00