ale/ale_linters/html/htmlhint.vim

13 lines
443 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
2016-10-28 06:46:17 +00:00
let g:ale_html_htmlhint_options = get(g:, 'ale_html_htmlhint_options', '--format=unix')
2016-10-27 15:31:49 +00:00
call ale#linter#Define('html', {
2016-10-08 15:01:03 +00:00
\ 'name': 'htmlhint',
\ 'executable': 'htmlhint',
2016-10-28 06:46:17 +00:00
\ 'command': 'htmlhint ' . g:ale_html_htmlhint_options . ' stdin',
2016-10-11 14:22:47 +00:00
\ 'callback': 'ale#handlers#HandleUnixFormatAsError',
2016-10-08 15:01:03 +00:00
\})