Closed angrybacon closed 1 year ago
Has anyone acknowledged this issue?
Sorry for the delay @angrybakon, this one slipped my radar. I'd like to figure out a good solution here. Do you think it would work well if we:
json-indent-level
, which is nil
by defaultjson-indent-level
has a value we use itjs-indent-level
Would that solve your case?
Yup, perfectly fine to me. Thank you :)
Sorry for the delay
It's ok, don't worry. I was only a bit concerned as I didn't see any activity on the repository.
This would solve this.
(add-hook 'json-mode-hook (lambda () (setq-local js-indent-level 2)))
One month ago, you made a change that basically forbids me to have 4-spaces indenting with js-mode and 2-spaces indenting with json-mode.