summaryrefslogtreecommitdiff
path: root/ale_linters/cs/mcs.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/cs/mcs.vim')
-rw-r--r--ale_linters/cs/mcs.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/cs/mcs.vim b/ale_linters/cs/mcs.vim
index f1e1fc87..690fec79 100644
--- a/ale_linters/cs/mcs.vim
+++ b/ale_linters/cs/mcs.vim
@@ -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