#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

+1 -1
View File
@@ -1,7 +1,7 @@
let g:ale_cs_mcs_options = get(g:, 'ale_cs_mcs_options', '')
function! ale_linters#cs#mcs#GetCommand(buffer) abort
return 'mcs -unsafe --parse ' . g:ale_cs_mcs_options . ' %t'
return 'mcs -unsafe --parse ' . ale#Var(a:buffer, 'cs_mcs_options') . ' %t'
endfunction
function! ale_linters#cs#mcs#Handle(buffer, lines) abort