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`
`ess-R-object-popup` and `ess-R-data-view` no longer exist in the newest
version of the `ess` package. All we need to load now is `ess-site`.
Revert changes to ess lazy loading
Include two empty init functions for packages causing errors instead.
Up to you whether you want to include it.
Only call mode function again if ess is successfully loaded
This is to avoid an infinite loop.
Whoops, removed a line that shouldn't be there.
Add rainbow-delimiters hook, add R-mode to auto-mode-alist, add
convenience keybinding, and add edit default offsets.
Separate rainbow-delimiters and smart-equals hooks into own defuns.
There are a number of functions included in ESS for dealing with knitr
and sweave "chunks" that are quite handy.
These are the bindings I use, which I humbly recommend for inclusion as
defaults.
The only potential problem that I see with their inclusion is that they
only really make sense in ess-noweb-mode (a minor mode) buffers, but
since evil-leader doesn't seem to like layering keybindings through
minor-modes, adding them to ess-mode is the best solution that I can
come up with for now.
Fix ess chunk bindings as per suggestions