Skip to content
Browse files

Makes sparse aware of &tabstop.

  • Loading branch information...
1 parent 3b8f38d commit 54cad3696e7ad26740c1aba0a413ae63e0bc03da @lcd047 lcd047 committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 syntax_checkers/c/sparse.vim
View
2 syntax_checkers/c/sparse.vim
@@ -32,7 +32,7 @@ endif
function! SyntaxCheckers_c_sparse_GetLocList()
let makeprg = syntastic#makeprg#build({
\ 'exe': 'sparse',
- \ 'args': syntastic#c#ReadConfig(g:syntastic_sparse_config_file),
+ \ 'args': '-ftabstop=' . &ts . ' ' . syntastic#c#ReadConfig(g:syntastic_sparse_config_file),
\ 'subchecker': 'sparse' })
let errorformat = '%f:%l:%v: %trror: %m,%f:%l:%v: %tarning: %m,'

0 comments on commit 54cad36

Please sign in to comment.
Something went wrong with that request. Please try again.