mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-05 11:48:52 +08:00
languagetools: stop auto-appending --autoDetect (#2616)
Options are now configurable for languagetools, and `--autoDetect` can be removed by changing the options.
This commit is contained in:
1 parent
34f2943fdd
commit
05ba522c9a
3 files changed
+20
-2
No files matched your search
@@ -12,4 +12,11 @@ Execute(Should be able to set a custom executable):
|
||||
let g:ale_languagetool_executable = 'foobar'
|
||||
|
||||
AssertLinter 'foobar' , ale#Escape('foobar')
|
||||
\ . ' --autoDetect %s'
|
||||
\ . ' --autoDetect %s'
|
||||
|
||||
Execute(Should be able to include custom languagetool options):
|
||||
let g:ale_languagetool_options = '--language en'
|
||||
|
||||
" is now 'foobar' based on above global
|
||||
AssertLinter 'foobar', ale#Escape('foobar')
|
||||
\ . ' --language en %s'
|
||||
Reference in new issue
Block a user