Commit graph

18 commits

Author SHA1 Message Date
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
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
Diego Berrocal 78f8c6aae0 Change condition for company-mode detection
changed configuration-layer/package-declaredp for
configuration-layer/layer-declaredp in company-mode
2015-03-29 23:49:37 -04:00
syl20bnr b1adef0626 Heavy refactoring of company-mode layer
- 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`
2015-03-22 02:23:12 -04:00
syl20bnr 22930c3d33 Change all SPC m g bindings to SPC m g g according to conventions 2015-01-20 22:32:13 -05:00
syl20bnr ceefe88b75 Update CONTRIBUTE.md and add file headers
Also add default file header to layer templates.
2015-01-13 23:12:56 -05:00
syl20bnr f770404255 Dispatch flycheck hooks in relevant layers 2014-12-22 22:51:44 -05:00
syl20bnr 0051aa73c4 Update conventions for help/doc key bindings
`m d` goes under help commands so it is now `m h d`
2014-12-21 22:52:57 -05:00
syl20bnr be338e9ee4 Refactoring of some javascript layer package initialisation 2014-12-18 21:39:41 -05:00
Andrew Oppenlander f2a406abe6 Fixed tern-auto-complete to load correctly 2014-12-18 21:30:19 -05:00
syl20bnr a3bf7e50d5 Add comment for js2-imenu-extra-mode activation 2014-12-17 18:54:58 -05:00
Daniel Wu 4402f05405 enabled js2-imenu-extra-mode in javascript mode 2014-12-17 18:52:03 -05:00
syl20bnr 19a87326f1 Move CoffeeScript package to JavaScript layer 2014-12-13 22:49:24 -05:00
sbenner e295b6a3f5 Temporarily comment the command prefixes for JS layer 2014-12-08 13:00:30 -05:00
syl20bnr fe8e8c09fd Standardize some key bindings for javascript layer 2014-12-08 00:39:19 -05:00
Andrew Oppenlander e303fce60b Add Javacript layer
- move JavaScript/js2-mode into a contrib layer
- add js2-refactor
- change keybindings to be more spacemacsy
- add a function to define a command prefix for a specific mode
2014-12-07 23:55:32 -05:00