Default stdin in htmlhint options

This commit is contained in:
deathmaz 2016-10-28 09:46:17 +03:00
parent 5b56103c69
commit 9a4645fc7f
2 changed files with 3 additions and 2 deletions

View File

@ -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',
\})

View File

@ -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|