diff options
-rw-r--r-- | ale_linters/html/htmlhint.vim | 4 | ||||
-rw-r--r-- | doc/ale.txt | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ale_linters/html/htmlhint.vim b/ale_linters/html/htmlhint.vim index 0892a5ae..59c2ed20 100644 --- a/ale_linters/html/htmlhint.vim +++ b/ale_linters/html/htmlhint.vim @@ -2,11 +2,11 @@ " Description: HTMLHint for checking html files " CLI options -let g:ale_html_htmlhint_options = get(g:, 'ale_html_htmlhint_options', '--format=unix stdin') +let g:ale_html_htmlhint_options = get(g:, 'ale_html_htmlhint_options', '--format=unix') call ale#linter#Define('html', { \ 'name': 'htmlhint', \ 'executable': 'htmlhint', -\ 'command': 'htmlhint ' . g:ale_html_htmlhint_options, +\ 'command': 'htmlhint ' . g:ale_html_htmlhint_options . ' stdin', \ 'callback': 'ale#handlers#HandleUnixFormatAsError', \}) diff --git a/doc/ale.txt b/doc/ale.txt index 49cfc8db..16da1794 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -23,6 +23,7 @@ CONTENTS *ale-contents* 4.11. luacheck..............................|ale-linter-options-luacheck| 4.12. c-cppcheck............................|ale-linter-options-c-cppcheck| 4.13. cpp-cppcheck..........................|ale-linter-options-cpp-cppcheck| + 4.14. htmlhint..............................|ale-linter-options-htmlhint| 5. Commands/Keybinds..........................|ale-commands| 6. API........................................|ale-api| 7. Special Thanks.............................|ale-special-thanks| |