ale/ale_linters/html/htmlhint.vim

16 lines
396 B
VimL
Raw Normal View History

2016-10-08 11:01:03 -04:00
" 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', {
2016-10-08 11:01:03 -04:00
\ 'name': 'htmlhint',
\ 'executable': 'htmlhint',
\ 'command': 'htmlhint --format=unix stdin',
2016-10-11 10:22:47 -04:00
\ 'callback': 'ale#handlers#HandleUnixFormatAsError',
2016-10-08 11:01:03 -04:00
\})