ale/ale_linters/html/htmlhint.vim

13 lines
438 B
VimL
Raw Normal View History

2016-10-27 15:31:49 +00:00
" Author: KabbAmine <amine.kabb@gmail.com>, deathmaz <00maz1987@gmail.com>
2016-10-08 15:01:03 +00:00
" Description: HTMLHint for checking html files
2016-10-27 15:31:49 +00:00
" CLI options
let g:ale_html_htmlhint_options = get(g:, 'ale_html_htmlhint_options', '--format=unix stdin')
call ale#linter#Define('html', {
2016-10-08 15:01:03 +00:00
\ 'name': 'htmlhint',
\ 'executable': 'htmlhint',
2016-10-27 15:31:49 +00:00
\ 'command': 'htmlhint ' . g:ale_html_htmlhint_options,
2016-10-11 14:22:47 +00:00
\ 'callback': 'ale#handlers#HandleUnixFormatAsError',
2016-10-08 15:01:03 +00:00
\})