Merge pull request #479 from adriaanzon/patch-1
Fix htmlhint variable names
This commit is contained in:
commit
430bff7532
@ -2,9 +2,9 @@
|
|||||||
" Description: HTMLHint for checking html files
|
" Description: HTMLHint for checking html files
|
||||||
|
|
||||||
" CLI options
|
" CLI options
|
||||||
let g:html_htmlhint_options = get(g:, 'ale_html_htmlhint_options', '--format=unix')
|
let g:ale_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:ale_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_use_global = get(g:, 'ale_html_htmlhint_use_global', 0)
|
||||||
|
|
||||||
function! ale_linters#html#htmlhint#GetExecutable(buffer) abort
|
function! ale_linters#html#htmlhint#GetExecutable(buffer) abort
|
||||||
if ale#Var(a:buffer, 'html_htmlhint_use_global')
|
if ale#Var(a:buffer, 'html_htmlhint_use_global')
|
||||||
|
Loading…
Reference in New Issue
Block a user