mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-10 06:21:53 +08:00
linter/markdown: adds support for languatool (#2155)
This commit is contained in:
@@ -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 '
|
||||
Reference in New Issue
Block a user