#977 Complain about the lack of configuration files for scalastyle in such a way that users will be directed towards getting it to work

This commit is contained in:
w0rp
2017-10-15 00:20:43 +01:00
parent 515dcdef29
commit 90d4fb139c
3 changed files with 41 additions and 4 deletions

View File

@@ -5,6 +5,17 @@ ALE Scala Integration *ale-scala-options*
===============================================================================
scalastyle *ale-scala-scalastyle*
`scalastyle` requires a configuration file for a project to run. When no
configuration file can be found, ALE will report a problem saying that a
configuration file is required at line 1.
To disable `scalastyle` globally, use |g:ale_linters| like so: >
let g:ale_linters = {'scala': ['scalac']} " Enable only scalac instead
<
See |g:ale_linters| for more information on disabling linters.
g:ale_scalastyle_config_loc *g:ale_scalastyle_config_loc*
Type: |String|