We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ce275e0 + 054aab2 commit d7ad66aCopy full SHA for d7ad66a
json-mode.el
@@ -91,7 +91,8 @@
91
(defun json-mode-beautify ()
92
"Beautify / pretty-print the active region (or the entire buffer if no active region)."
93
(interactive)
94
- (let ((json-reformat:indent-width js-indent-level))
+ (let ((json-reformat:indent-width js-indent-level)
95
+ (json-reformat:pretty-string? t))
96
(if (use-region-p)
97
(json-reformat-region (region-beginning) (region-end))
98
(json-reformat-region (buffer-end -1) (buffer-end 1)))))
0 commit comments