mirror of https://github.com/dense-analysis/ale
parent
9cc8383fe9
commit
00dcf52d6f
|
@ -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')
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue