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

html-beautify defaults does not honor text width

sak96 opened this issue · comments

current defaults should have had -w flag

let g:formatdef_htmlbeautify = '"html-beautify - -".(&expandtab ? "s ".shiftwidth() : "t").(&textwidth ? " -w ".&textwidth : "")'

is there something i missed ?

current defaults should have had -w flag

If this is a valid flag, you could provide a PR adding this mapping.

raise a pr #307.
for more details on -w flag check here