Monday, June 5, 2017

indent with 4 spaces in Emacs json-mode

1. install json-mode with
M-x package-install RET json-mode RET

2. set indent with:
M-x customize-group RET json-mode RET
Then change the default number from '2' to '4'.

No comments: