Commit graph

21 commits

Author SHA1 Message Date
Fabien Dubosson
b9cd9c1cd8 Remove rainbow-delimiters-mode from mode-specific hooks
`spacemacs` now handles `rainbow-delimiters-mode` by adding it to the
`prog-mode-hook`, if wanted by the user. Some layers are adding it on
their own mode-hook, having for effect that `rainbow-delimiters-mode` is
called twice, which disable it.

This commit remove these layer-specific definitions of
`rainbow-delimiters` as it is now handled by the `spacemacs`
distribution. It also takes care of running `prog-mode-hook` in modes
that are not derived from it.

Fixes #3902
2016-03-09 20:23:29 -05:00
Sebastian Wiesner
bbdda23469 html: Don't enable web-mode for jsx files
- Conceptually it just doesn't feel right: JSX is no HTML, this would be the wrong layer.
- There's a react layer that provides dedicated JSX support.
- And there are other modes for JSX (js2-jsx-mode for instance) that user might want to use,
  without affecting Web Mode for template files.
2016-02-14 23:17:55 -05:00
Utkarsh Kukreti
4de7c3df5f Enable emmet-mode in sass and scss modes. 2016-02-02 16:48:37 +01:00
Eivind Fonn
b9939b19d8 Use built-in web-mode pairing 2016-02-02 16:34:45 +01:00
Eivind Fonn
e9f8377b92 Tweak flycheck loading process 2016-01-31 23:04:48 -05:00
justbur
e97af03ff7 Call new micro-state a transient state 2016-01-26 01:21:00 -05:00
justbur
81a56c2cd7 web-mode: Translate web-mode micro-state 2016-01-26 01:20:59 -05:00
syl20bnr
046d86800c Clean copyrights and update for year 2016 2016-01-11 21:42:17 -05:00
justbur
b0ee301845 layers: Conditionally load helm packages
Only use them when the spacemacs-helm layer is used.
2016-01-09 13:36:03 -05:00
Fabien Dubosson
275f645f94 Fix web-mode and erc-log micro-states bindings
Without this change, `erc-log-micro-state` is overriding all `SPC m .`
bindings, and `web-mode` micro state is under `SPC m m .`.
2015-12-21 00:57:48 -05:00
Eivind Fonn
ac0ba50154 Make flycheck/flyspell hooks more explicit 2015-12-11 02:08:55 -05:00
Eivind Fonn
1ce8e28dc1 Fix smartparens loading in web-mode 2015-11-29 09:17:37 +01:00
justbur
9befd20a1a layers: Transition to new key bindings functions
Removes dependence on evil-leader centralizing control over the method
of key binding in core-keybindings.el
2015-11-21 18:22:51 +01:00
Eivind Fonn
f32f2f8ad8 Add company-css backend in web-mode 2015-10-29 13:48:46 +01:00
Sebastian Wiesner
77d5a36dec Mark css-indent-offset as safe local variable 2015-10-18 23:42:32 -04:00
Robert O'Connor
d8566c1752 tweak evil-matchit for the html layer 2015-10-13 23:48:44 -04:00
Eivind Fonn
56ecd43753 Add variables to opt-in to flycheck/flyspell 2015-10-10 23:18:46 -04:00
GeorgeLenton
a28e776b84 Enable Emmet tab expansion using hybrid mode
Previously only worked for vim & emacs.
2015-10-07 15:51:40 -04:00
Eivind Fonn
1e290b4282 Fix smartparens configuration in html layer 2015-09-27 21:06:07 -04:00
Eivind Fonn
9a76e9dd9e CSS improvements
- Add binding for helm-css-scss in css mode
- Add smartparens to all css-like modes
2015-09-13 22:21:50 -04:00
justbur
6eab954afe Use + instead of ! for layer categories
Helm seems to treat "!" specially in pattern matching, so having a ! in
the pattern string when traversing directories is problematic. This
change fixes #2737, because as far as I can tell "+" has no special
meaning in a helm pattern.

Of course, we can choose a different character, but I'm fond of "+" as
representing "more layers here".
2015-09-11 00:13:51 -04:00
Renamed from layers/!lang/html/packages.el (Browse further)