diff --git a/ale_linters/tex/chktex.vim b/ale_linters/tex/chktex.vim index 7708b1ea..b4eacb82 100644 --- a/ale_linters/tex/chktex.vim +++ b/ale_linters/tex/chktex.vim @@ -10,7 +10,6 @@ function! ale_linters#tex#chktex#GetCommand(buffer) abort " Avoid bug when used without -p (last warning has gibberish for a filename) let l:options .= ' -v0 -p stdin -q' " Avoid bug of reporting wrong column when using tabs (issue #723) - let l:options .= ' -s TabSize=1' " Check for optional .chktexrc let l:chktex_config = ale#path#FindNearestFile(a:buffer, '.chktexrc') diff --git a/test/linter/test_tex_chktex.vader b/test/linter/test_tex_chktex.vader index 7052c367..d787ca87 100644 --- a/test/linter/test_tex_chktex.vader +++ b/test/linter/test_tex_chktex.vader @@ -7,7 +7,7 @@ After: Execute(The default command should be correct): AssertLinter 'chktex', \ ale#Escape('chktex') - \ . ' -v0 -p stdin -q -s TabSize=1' + \ . ' -v0 -p stdin -q' \ . ' -I' Execute(The executable should be configurable): @@ -15,7 +15,7 @@ Execute(The executable should be configurable): AssertLinter 'bin/foo', \ ale#Escape('bin/foo') - \ . ' -v0 -p stdin -q -s TabSize=1' + \ . ' -v0 -p stdin -q' \ . ' -I' Execute(The options should be configurable): @@ -23,5 +23,5 @@ Execute(The options should be configurable): AssertLinter 'chktex', \ ale#Escape('chktex') - \ . ' -v0 -p stdin -q -s TabSize=1' + \ . ' -v0 -p stdin -q' \ . ' --something'