commit b4dbbe379952d797b5d1dde42fec20c3874037ff
parent 4281b6becb58208306e3e688b85e97af00e048ad
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Fri, 25 Oct 2019 17:27:14 +0200
syntax: html: add a formatter command, making use of 'tidy'
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/syntax/html.nanorc b/syntax/html.nanorc
@@ -4,6 +4,8 @@ syntax html "\.html?$"
magic "HTML document"
comment "<!--|-->"
+formatter tidy -m -q
+
# Tags:
color cyan "<[[:alpha:]/!?][^>]*>"
# Bold, italic, and underlined: