ale/ale_linters/html/htmlhint.vim
2016-10-11 09:22:47 -05:00

16 lines
396 B
VimL

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