From 7a1a5343054549c571425b6c48ab15ca5422337a Mon Sep 17 00:00:00 2001 From: rhysd Date: Sat, 6 Jan 2018 19:58:10 +0900 Subject: Explain /usr/bin/tidy is ignored on macOS and how to install the latest tidy --- doc/ale-html.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'doc/ale-html.txt') diff --git a/doc/ale-html.txt b/doc/ale-html.txt index 14e705e0..c5d5afa5 100644 --- a/doc/ale-html.txt +++ b/doc/ale-html.txt @@ -32,6 +32,21 @@ g:ale_html_htmlhint_use_global *g:ale_html_htmlhint_use_global* =============================================================================== tidy *ale-html-tidy* +`tidy` is a console application which corrects and cleans up HTML and XML +documents by fixing markup errors and upgrading legacy code to modern +standards. + +Note: +`/usr/bin/tidy` on macOS (installed by default) is too old. It was released +on 31 Oct 2006. It does not consider modern HTML specs (HTML5) and shows +outdated warnings. So |ale| ignores `/usr/bin/tidy` on macOS. + +To use `tidy` on macOS, please install the latest version with Homebrew: +> + $ brew install tidy-html5 +< +`/usr/local/bin/tidy` is installed. + g:ale_html_tidy_executable *g:ale_html_tidy_executable* *b:ale_html_tidy_executable* Type: |String| -- cgit v1.2.3