Makes sparse aware of &tabstop.

This commit is contained in:
LCD 47 2013-04-03 11:35:02 +03:00
parent 3b8f38dcf9
commit 54cad3696e

View File

@ -32,7 +32,7 @@ endif
function! SyntaxCheckers_c_sparse_GetLocList() function! SyntaxCheckers_c_sparse_GetLocList()
let makeprg = syntastic#makeprg#build({ let makeprg = syntastic#makeprg#build({
\ 'exe': 'sparse', \ 'exe': 'sparse',
\ 'args': syntastic#c#ReadConfig(g:syntastic_sparse_config_file), \ 'args': '-ftabstop=' . &ts . ' ' . syntastic#c#ReadConfig(g:syntastic_sparse_config_file),
\ 'subchecker': 'sparse' }) \ 'subchecker': 'sparse' })
let errorformat = '%f:%l:%v: %trror: %m,%f:%l:%v: %tarning: %m,' let errorformat = '%f:%l:%v: %trror: %m,%f:%l:%v: %tarning: %m,'