Still indenting to 4
computersarecool opened this issue · 1 comments
computersarecool commented
Hi,
I have set json-reformat:indent-width
to 2
, and when I select an entire buffer and run json-reformat
everything indents correctly to being indented by 2 spaces but when I am typing JSON directly in this mode, things still indent by 2.
I have also set (setq js2-basic-offset 2)
Is there any way to fix this?
computersarecool commented
My (setq js2-basic-offset 2)
was not being set correctly. Not an issue here.