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.
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.
- Enable lazy-loading of company.
- The company layer is now agnostic of any packages which use company
- company-backends is now buffer local and contains only the backends
which are relevant for the current modes
- New macro `spacemacs|reset-local-company-backends`
This change allows semantic-sticky-func-mode to display parameters that
are scattered in many lines by using stickyfunc-enhance package. It also
specifically handles Python to also display assigned values if
available.
Also update documentation.
With Semantic mode enabled, it enables IDE features such as:
- Enable helm-semantic-or-imenu to jump with Semantic instead of Imenu.
- Show function signature of current function point is inside at the
top (with global-semantic-stickyfunc-mode)
- Show function signature of current function at point at the
bottom (with global-semantic-idle-summary-mode).
- Add Srefactor for refactoring using Semantic parser framework. Bind it
to "SPC m r".
- Load 'compile package, otherwise compilation-mode-map won't exists and
Semantic fails to bind some key to the map and throw error.