summaryrefslogtreecommitdiff
path: root/ale_linters/html/htmlhint.vim
blob: 0892a5aebbf78fb8e4a2a71901945484cff73733 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
" Author: KabbAmine <amine.kabb@gmail.com>, deathmaz <00maz1987@gmail.com>
" Description: HTMLHint for checking html files

" CLI options
let g:ale_html_htmlhint_options = get(g:, 'ale_html_htmlhint_options', '--format=unix stdin')

call ale#linter#Define('html', {
\   'name': 'htmlhint',
\   'executable': 'htmlhint',
\   'command': 'htmlhint ' . g:ale_html_htmlhint_options,
\   'callback': 'ale#handlers#HandleUnixFormatAsError',
\})