#427 Implement buffer variable overrides for all linter options

This commit is contained in:
w0rp committed 2017-04-16 01:24:08 +01:00
1 parent e80116cee0
commit e97dada261
45 files changed
+117 -108

No files matched your search

+3 -1
View File
@@ -6,7 +6,9 @@ function! ale_linters#erlang#erlc#GetCommand(buffer) abort
let l:output_file = tempname()
call ale#engine#ManageFile(a:buffer, l:output_file)
return 'erlc -o ' . fnameescape(l:output_file) . ' ' . g:ale_erlang_erlc_options . ' %t'
return 'erlc -o ' . fnameescape(l:output_file)
\ . ' ' . ale#Var(a:buffer, 'erlang_erlc_options')
\ . ' %t'
endfunction
function! ale_linters#erlang#erlc#Handle(buffer, lines) abort