mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-17 19:41:27 +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
@@ -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
|
||||
|
||||
Reference in new issue
Block a user