Fix passing file to languagetool

This commit is contained in:
Francisco Lopes
2019-03-11 04:07:58 -03:00
parent 03384a5d6f
commit d9a12348d0
2 changed files with 3 additions and 3 deletions

View File

@@ -6,10 +6,10 @@ After:
Execute(The default command should be correct):
AssertLinter 'languagetool', ale#Escape('languagetool')
\ . ' --autoDetect '
\ . ' --autoDetect %s'
Execute(Should be able to set a custom executable):
let g:ale_languagetool_executable = 'foobar'
AssertLinter 'foobar' , ale#Escape('foobar')
\ . ' --autoDetect '
\ . ' --autoDetect %s'