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