summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
authordeathmaz <00maz1987@gmail.com>2016-10-28 09:46:17 +0300
committerdeathmaz <00maz1987@gmail.com>2016-10-28 12:42:55 +0300
commit9a4645fc7ffa3c3cabccd7c2a432e44276214455 (patch)
tree38ae2952e5f59d60b376d6f4615a9c6b38cc7dcd /ale_linters
parent5b56103c693f96aa1240936434a022bd12ae7743 (diff)
downloadale-9a4645fc7ffa3c3cabccd7c2a432e44276214455.zip
Default stdin in htmlhint options
Diffstat (limited to 'ale_linters')
-rw-r--r--ale_linters/html/htmlhint.vim4
1 files changed, 2 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',
\})