Fix htmlhint variable names

This commit is contained in:
Adriaan Zonnenberg 2017-04-16 21:44:15 +02:00 committed by GitHub
parent 2643f9f119
commit ffda9077aa
1 changed files with 3 additions and 3 deletions

View File

@ -2,9 +2,9 @@
" Description: HTMLHint for checking html files
" CLI options
let g:html_htmlhint_options = get(g:, 'ale_html_htmlhint_options', '--format=unix')
let g:html_htmlhint_executable = get(g:, 'ale_html_htmlhint_executable', 'htmlhint')
let g:html_htmlhint_use_global = get(g:, 'ale_html_htmlhint_use_global', 0)
let g:ale_html_htmlhint_options = get(g:, 'ale_html_htmlhint_options', '--format=unix')
let g:ale_html_htmlhint_executable = get(g:, 'ale_html_htmlhint_executable', 'htmlhint')
let g:ale_html_htmlhint_use_global = get(g:, 'ale_html_htmlhint_use_global', 0)
function! ale_linters#html#htmlhint#GetExecutable(buffer) abort
if ale#Var(a:buffer, 'html_htmlhint_use_global')