mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-16 01:07:06 +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:
@@ -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