ale/ale_linters/html/htmlhint.vim

16 lines
396 B
VimL
Raw Normal View History

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