mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-19 10:41:13 +08:00
#427 Implement buffer variable overrides for all linter options
This commit is contained in:
@@ -26,14 +26,14 @@ function! ale_linters#html#tidy#GetCommand(buffer) abort
|
||||
\ }, &fileencoding, '-utf8')
|
||||
|
||||
return printf('%s %s %s -',
|
||||
\ g:ale_html_tidy_executable,
|
||||
\ g:ale_html_tidy_options,
|
||||
\ ale#Var(a:buffer, 'html_tidy_executable'),
|
||||
\ ale#Var(a:buffer, 'html_tidy_options'),
|
||||
\ l:file_encoding
|
||||
\)
|
||||
endfunction
|
||||
|
||||
function! ale_linters#html#tidy#GetExecutable(buffer) abort
|
||||
return g:ale_html_tidy_executable
|
||||
return ale#Var(a:buffer, 'html_tidy_executable')
|
||||
endfunction
|
||||
|
||||
function! ale_linters#html#tidy#Handle(buffer, lines) abort
|
||||
|
||||
Reference in New Issue
Block a user