From b4dbbe379952d797b5d1dde42fec20c3874037ff Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Fri, 25 Oct 2019 17:27:14 +0200 Subject: [PATCH] syntax: html: add a formatter command, making use of 'tidy' --- syntax/html.nanorc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/syntax/html.nanorc b/syntax/html.nanorc index 194af884..6916b6a7 100644 --- 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: