Add fixer "css-beautify". Adjust "html-beautify." (#4319)

* Add fixer "css-beautify". Adjust "html-beautify."

* Error fixes.

* Added chars.
This commit is contained in:
Matheus Gabriel Werny de Lima
2022-09-30 12:24:32 +02:00
committed by GitHub
parent 7dd13afc6c
commit a33960eb51
9 changed files with 87 additions and 6 deletions

View File

@@ -0,0 +1,12 @@
Before:
call ale#assert#SetUpFixerTest('css', 'css-beautify', 'beautify')
After:
Restore
call ale#assert#TearDownFixerTest()
Execute(The css-beautify callback should return the correct default command):
AssertEqual
\ {'command': ale#Escape('css-beautify') . ' -'},
\ ale#fixers#css_beautify#Fix(bufnr(''))