Default stdin in htmlhint options
This commit is contained in:
parent
5b56103c69
commit
9a4645fc7f
@ -2,11 +2,11 @@
|
|||||||
" Description: HTMLHint for checking html files
|
" Description: HTMLHint for checking html files
|
||||||
|
|
||||||
" CLI options
|
" CLI options
|
||||||
let g:ale_html_htmlhint_options = get(g:, 'ale_html_htmlhint_options', '--format=unix stdin')
|
let g:ale_html_htmlhint_options = get(g:, 'ale_html_htmlhint_options', '--format=unix')
|
||||||
|
|
||||||
call ale#linter#Define('html', {
|
call ale#linter#Define('html', {
|
||||||
\ 'name': 'htmlhint',
|
\ 'name': 'htmlhint',
|
||||||
\ 'executable': 'htmlhint',
|
\ 'executable': 'htmlhint',
|
||||||
\ 'command': 'htmlhint ' . g:ale_html_htmlhint_options,
|
\ 'command': 'htmlhint ' . g:ale_html_htmlhint_options . ' stdin',
|
||||||
\ 'callback': 'ale#handlers#HandleUnixFormatAsError',
|
\ 'callback': 'ale#handlers#HandleUnixFormatAsError',
|
||||||
\})
|
\})
|
||||||
|
@ -23,6 +23,7 @@ CONTENTS *ale-contents*
|
|||||||
4.11. luacheck..............................|ale-linter-options-luacheck|
|
4.11. luacheck..............................|ale-linter-options-luacheck|
|
||||||
4.12. c-cppcheck............................|ale-linter-options-c-cppcheck|
|
4.12. c-cppcheck............................|ale-linter-options-c-cppcheck|
|
||||||
4.13. cpp-cppcheck..........................|ale-linter-options-cpp-cppcheck|
|
4.13. cpp-cppcheck..........................|ale-linter-options-cpp-cppcheck|
|
||||||
|
4.14. htmlhint..............................|ale-linter-options-htmlhint|
|
||||||
5. Commands/Keybinds..........................|ale-commands|
|
5. Commands/Keybinds..........................|ale-commands|
|
||||||
6. API........................................|ale-api|
|
6. API........................................|ale-api|
|
||||||
7. Special Thanks.............................|ale-special-thanks|
|
7. Special Thanks.............................|ale-special-thanks|
|
||||||
|
Loading…
Reference in New Issue
Block a user