mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Set --show-body-only=true for html-tidy formatter
To facilitate formatting partial templates.
This commit is contained in:
@ -28,7 +28,7 @@
|
|||||||
'("tidy" "-q" "-indent"
|
'("tidy" "-q" "-indent"
|
||||||
"--tidy-mark" "no"
|
"--tidy-mark" "no"
|
||||||
"--drop-empty-elements" "no"
|
"--drop-empty-elements" "no"
|
||||||
"--show-body-only" "auto" ; don't inject html/body tags
|
"--show-body-only" "true" ; don't inject html/body tags
|
||||||
("--indent-spaces" "%d" tab-width)
|
("--indent-spaces" "%d" tab-width)
|
||||||
("--indent-with-tabs" "%s" (if indent-tabs-mode "yes" "no"))
|
("--indent-with-tabs" "%s" (if indent-tabs-mode "yes" "no"))
|
||||||
("-xml" (memq major-mode '(nxml-mode xml-mode))))
|
("-xml" (memq major-mode '(nxml-mode xml-mode))))
|
||||||
|
Reference in New Issue
Block a user