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

if exists('g:loaded_ale_linters_html_htmlhint')
    finish
endif

let g:loaded_ale_linters_html_htmlhint = 1

call ale#linter#Define('html', {
\   'name': 'htmlhint',
\   'executable': 'htmlhint',
\   'command': 'htmlhint --format=unix stdin',
\   'callback': 'ale#handlers#HandleUnixFormatAsError',
\})