vim-autoformat / vim-autoformat

Provide easy code formatting in Vim by integrating existing code formatters.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Formatting fails with tidy_html

urbster1 opened this issue · comments

tidy is installed and works in the shell but is not working from vim. I am using zsh in MSYS2, unsure if this is related.
Here is the error from verbose output:

Selected formatter: tidy_html
Trying definition from g:formatdef_tidy_html
Evaluated formatprg: tidy -q --show-errors 0 --show-warnings 0 --force-output --indent auto --indent-spaces 8 --vertical-space yes --tidy-mark no -wrap 0
Using python 3 code...
Formatter tidy_html gives nonzero returncode: 1
Definition in 'g:formatdef_tidy_html' was unsuccessful.

Any input is appreciated!

I think this is due to having no .tidyrc config file, so I will close this issue.