syl20bnr
85ace24553
react: fix tern setup
...
The init function should be a post-init instead of an init function.
Also simplified the configuratin quite a bit.
2016-06-21 19:04:59 -04:00
Shahin
cc2a38fc76
Add javascript-standard as a flycheck checker to react-mode
...
By default the only available checker in `react-mode` is
javascript-eslint. `javascript-standard` is based on `javascript-eslint`
and has some modification on rules. Since it's not defined as a checker
for this mode, it's also impossible to select it in a buffer.
2016-06-05 21:24:42 -04:00
syl20bnr
a2de9a63af
Use :toggle keyword instead of when forms
2016-05-29 22:39:21 -04:00
syl20bnr
46138cd25a
Move declare-layers functions to new layers.el file
2016-05-28 21:26:00 -04:00
sooheon
15e6290151
Make check for company-mode explicit, not implicit
...
People may have company-mode installed without necessarily using the
auto-completion layer.
2016-05-27 00:32:05 -04:00
Andrea Moretti
b772734394
react: remove probably useless snippet
2016-04-29 23:30:44 -04:00
Andrea Moretti
cb55e3da3c
react: fix tern and docs
2016-04-29 23:30:21 -04:00
Andrea Moretti
f88a7889a4
react: use node_modules version of eslint or global if not available
2016-04-29 23:30:05 -04:00
Andrea Moretti
c80c9583db
add import React magic-mode-alist
...
as suggested by @tko on #4735
2016-04-21 21:07:38 -04:00
Andrea Moretti
5c07ce0118
enforce smartparens
2016-04-21 21:07:38 -04:00
Andrea Moretti
a3e802b2ff
remove js2 and fix eslint loading
2016-04-21 21:07:38 -04:00
syl20bnr
07852abad5
Format documenation files with doc-fmt tool
2016-04-12 23:31:38 -04:00
syl20bnr
3b0c1fd93d
Convert org doc files with doc-fmt
2016-03-30 22:59:55 -04:00
syl20bnr
b1a6d8977a
react: prefer named function over lambda for hooks
2016-03-09 20:10:58 -05:00
huaoguo
70d4c2c784
Fix bug: helm-imenu doesn't work in react-mode
...
In react-mode, when invoke helm-imenu, the list is empty. Because this
feature is only enabled in js2-mode, not js2-minor-mode.
So we should enable it by ourself.
link: https://github.com/mooz/js2-mode/blob/master/js2-mode.el#L11557
2016-03-09 20:09:07 -05:00
Tommi Komulainen
faed1b7dc0
react: make evil-matchit jump between html/jsx tags as well
...
Fixes : #5265
2016-03-01 18:59:18 +01:00
EMayej Bee
de7eb40337
Fix react magic mode
2016-02-09 21:37:22 +01:00
Eivind Fonn
e9f8377b92
Tweak flycheck loading process
2016-01-31 23:04:48 -05:00
Eivind Fonn
248abe254f
Don't auto-quote attributes in react
2016-01-22 15:47:21 +01:00
syl20bnr
046d86800c
Clean copyrights and update for year 2016
2016-01-11 21:42:17 -05:00
syl20bnr
cddf18ff1e
Update install layer section in REAMDE.org files
2016-01-06 00:21:55 -05:00
Erwan Loisant
5361447599
Auto-activate for react native index files
2016-01-04 00:23:56 -05:00
Eivind Fonn
ac0ba50154
Make flycheck/flyspell hooks more explicit
2015-12-11 02:08:55 -05:00
R. Haluk Öngör
d498c091bf
Enable js-mode snippets in react mode
2015-12-04 00:08:26 -05: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
c3866382b2
Documentation update
...
- Add #+HTML_HEAD_EXTRA options to all org files
- HTMLize published documentation via CSS
2015-11-13 14:23:13 +01:00
Sebastian Wiesner
954ed2d3de
react: Fix Flycheck setup
...
Do not disable jshint globally, but only for React Mode. It’s perfectly
fine to use jshint for a Javascript project and eslint for a React
project. A layer should not enforce its language specific preferences
upon everything else, and above all, you should NEVER disable syntax
globally without a very good reason.
Also remove the redundant expression disabling json-jsonlist, which
simply does not exist.
2015-11-13 13:52:20 +01:00
Eivind Fonn
13c5b1d24b
Convert documentation to publishable format
2015-11-01 23:40:29 -05:00
Eivind Fonn
56ecd43753
Add variables to opt-in to flycheck/flyspell
2015-10-10 23:18:46 -04:00
Diego Berrocal
c9612ffef0
Expand to className when using emmet
...
div.react-class >>> <div className="react-class"></div>
2015-10-09 12:06:40 +02:00
person808
c1b6293268
Replace eval-after-load
with with-eval-after-load
.
...
We now backport the macro for 24.3 so we can use it everywhere.
2015-10-07 15:51:39 -04:00
David Mohl
15de481a80
forcing jsx content type, fixes #3163
2015-09-28 23:21:03 -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