linter/markdown: adds support for languatool (#2155)

This commit is contained in:
Vincent Dahmen
2019-03-09 14:55:54 +01:00
committed by w0rp
parent fd31987f23
commit 7eae06d3f3
6 changed files with 165 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
Before:
call ale#assert#SetUpLinterTest('text', 'languagetool')
After:
call ale#assert#TearDownLinterTest()
Execute(The default command should be correct):
AssertLinter 'languagetool', ale#Escape('languagetool')
\ . ' --autoDetect '
Execute(Should be able to set a custom executable):
let g:ale_languagetool_executable = 'foobar'
AssertLinter 'foobar' , ale#Escape('foobar')
\ . ' --autoDetect '