Maximilian Wolff
104ce94389
[json] Fix "void variable" in init-json-navigator
...
which was caused by lazy loading.
2021-05-12 05:13:29 +00:00
Maximilian Wolff
346b7a8a12
[json] Fix functions optionally working on regions
...
so that they work if no region has even been
selected in the current emacs section.
2021-05-11 21:24:52 +02:00
Maximilian Wolff
060f558530
[json] Avoid changing default evil state for tabulated-list-modes
...
See #14645
2021-05-09 21:14:26 +00:00
Lucius Hu
64a349576b
json: refactor
...
- Moved backend determination to `config.el`
- Replaced `pcase` form with only one-arm with `when` or `unless` form
2021-04-04 12:48:21 +02:00
syl20bnr
97cd83e169
Apply GPLv3 terms explicitly to all elisp files
2021-03-25 22:59:32 -04:00
syl20bnr
d55a9e2e67
Update header for year 2021
2021-03-25 22:59:32 -04:00
Maximilian Wolff
938a7395dc
[json] Add lsp support
2020-06-23 22:58:26 +02:00
Caleb Williams
fe77ade0f0
[json] Add option to format on save
2019-09-05 18:58:08 +02:00
Thanh Vuong
f63009ae20
Fix keybindings overwritten by LSP
...
change prettier/web-beautify to `scp m = =` to avoid being
overridden by lsp
2019-01-21 22:59:56 +02:00
duianto
ee811f7b13
Unify packages list parentheses style
...
problem:
some layer packages lists have the open and closing parentheses on the same line
as the first and last listed package, but most seem to have them on a separate
lines.
solution:
put the open and close parentheses on separate lines, except for lists with only
a single package, they are written on the same line as the variable name and
parentheses.
fix the lists indentation
2018-11-21 21:35:38 +00:00
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