mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-14 00:48:57 +08:00
#427 Implement buffer variable overrides for all linter options
This commit is contained in:
1 parent
e80116cee0
commit
e97dada261
45 files changed
+117
-108
No files matched your search
@@ -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