Boris Buliga
1c4ad177f1
[json] minor improvements
...
1. mention prettier in readme summary
2. format code
3. use when instead of if
2018-11-07 08:30:42 +02:00
Tommi Komulainen
895308aecb
json: tell prettier content is to be parsed as json
...
In json-mode tell prettier the content is always to be parsed as json.
Fixes formatting in orgmode `#+BEGIN_SRC json` blocks as prettier
otherwise expects content as javascript.
Fixes : #11343
2018-11-07 08:27:47 +02:00
Seong Yong-ju
2c21d5098a
Add prettier layer
...
Add prettier layer. Add prettier support for .css/.scss/.less/.js/.json file.
Add layer variables for html, javascript, json.
2018-08-22 00:15:28 +03:00
syl20bnr
8267b501dd
web-beautify: rename spacemacs-web-beautify--modes
2018-05-20 00:41:17 -04:00
syl20bnr
b97ad90c92
web-beautify: fix definition of web-beautify key bindings
...
Needs to use `pre-init` function in order to have the variable
spacemacs-web-beautify--modes to be populated before the init function of
web-beautify is actually called.
2018-05-19 01:53:33 -04:00
syl20bnr
542ada133d
New layer web-beautify extracted from javascript layer
...
Make html, javascript, json and react layers depend on it
2018-05-18 01:25:29 -04:00
syl20bnr
0fc3d921d2
json: fix hook error in post-inti-add-node-module-path
2018-05-14 20:52:22 -04:00
syl20bnr
e481894fcb
Create new json layer extracted from javascript layer
...
* add some goodies like `json-reformat` and `json-navigator`
* make the javascript layer dependent on the json layer
2018-05-14 00:49:13 -04:00