summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoracio Sanson <900716+hsanson@users.noreply.github.com>2024-02-26 11:56:56 +0900
committerGitHub <noreply@github.com>2024-02-26 11:56:56 +0900
commit00dcf52d6f315721e3cddf19c815b353dcde9220 (patch)
tree1260bfc8c45624de91169783328942138ede1f8e
parent9cc8383fe930e0d6f21b17c9ebb2fdb55331b183 (diff)
downloadale-00dcf52d6f315721e3cddf19c815b353dcde9220.zip
4712 revert chktex 4661 (#4725)
* Fix 4712 - revert #4661 * Fix tests
-rw-r--r--ale_linters/tex/chktex.vim1
-rw-r--r--test/linter/test_tex_chktex.vader6
2 files changed, 3 insertions, 4 deletions
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'