Some checks failed
Detach Plugins / check (FlyGrep.vim) (push) Has been cancelled
Detach Plugins / check (GitHub.vim) (push) Has been cancelled
Detach Plugins / check (JavaUnit.vim) (push) Has been cancelled
Detach Plugins / check (SourceCounter.vim) (push) Has been cancelled
Detach Plugins / check (cpicker.nvim) (push) Has been cancelled
Detach Plugins / check (dein-ui.vim) (push) Has been cancelled
Detach Plugins / check (git.vim) (push) Has been cancelled
Detach Plugins / check (iedit.vim) (push) Has been cancelled
Detach Plugins / check (scrollbar.vim) (push) Has been cancelled
Detach Plugins / check (vim-chat) (push) Has been cancelled
Detach Plugins / check (vim-cheat) (push) Has been cancelled
Detach Plugins / check (vim-todo) (push) Has been cancelled
Detach Plugins / check (xmake.vim) (push) Has been cancelled
test / Linux (nvim, nightly) (push) Has been cancelled
test / Linux (nvim, v0.3.8) (push) Has been cancelled
test / Linux (nvim, v0.4.0) (push) Has been cancelled
test / Linux (nvim, v0.4.2) (push) Has been cancelled
test / Linux (nvim, v0.4.3) (push) Has been cancelled
test / Linux (nvim, v0.4.4) (push) Has been cancelled
test / Linux (nvim, v0.5.0) (push) Has been cancelled
test / Linux (nvim, v0.5.1) (push) Has been cancelled
test / Linux (nvim, v0.6.0) (push) Has been cancelled
test / Linux (nvim, v0.6.1) (push) Has been cancelled
test / Linux (nvim, v0.7.0) (push) Has been cancelled
test / Linux (nvim, v0.7.2) (push) Has been cancelled
test / Linux (nvim, v0.8.0) (push) Has been cancelled
test / Linux (nvim, v0.8.1) (push) Has been cancelled
test / Linux (nvim, v0.8.2) (push) Has been cancelled
test / Linux (nvim, v0.8.3) (push) Has been cancelled
test / Linux (nvim, v0.9.0) (push) Has been cancelled
test / Linux (nvim, v0.9.1) (push) Has been cancelled
test / Linux (true, vim, v7.4.052) (push) Has been cancelled
test / Linux (true, vim, v7.4.1689) (push) Has been cancelled
test / Linux (true, vim, v7.4.629) (push) Has been cancelled
test / Linux (true, vim, v8.0.0027) (push) Has been cancelled
test / Linux (true, vim, v8.0.0183) (push) Has been cancelled
test / Linux (vim, nightly) (push) Has been cancelled
test / Linux (vim, v8.0.0184) (push) Has been cancelled
test / Linux (vim, v8.0.1453) (push) Has been cancelled
test / Linux (vim, v8.1.2269) (push) Has been cancelled
test / Linux (vim, v8.2.2434) (push) Has been cancelled
test / Linux (vim, v8.2.3995) (push) Has been cancelled
test / Windows (nvim, nightly) (push) Has been cancelled
test / Windows (nvim, v0.3.8) (push) Has been cancelled
test / Windows (nvim, v0.4.2) (push) Has been cancelled
test / Windows (nvim, v0.4.3) (push) Has been cancelled
test / Windows (nvim, v0.4.4) (push) Has been cancelled
test / Windows (nvim, v0.5.0) (push) Has been cancelled
test / Windows (nvim, v0.5.1) (push) Has been cancelled
test / Windows (nvim, v0.6.0) (push) Has been cancelled
test / Windows (nvim, v0.6.1) (push) Has been cancelled
test / Windows (nvim, v0.7.0) (push) Has been cancelled
test / Windows (nvim, v0.7.2) (push) Has been cancelled
test / Windows (nvim, v0.8.0) (push) Has been cancelled
test / Windows (nvim, v0.8.1) (push) Has been cancelled
test / Windows (nvim, v0.8.2) (push) Has been cancelled
test / Windows (nvim, v0.8.3) (push) Has been cancelled
test / Windows (nvim, v0.9.0) (push) Has been cancelled
test / Windows (nvim, v0.9.1) (push) Has been cancelled
test / Windows (vim, nightly) (push) Has been cancelled
test / Windows (vim, v7.4.1185) (push) Has been cancelled
test / Windows (vim, v7.4.1689) (push) Has been cancelled
test / Windows (vim, v8.0.0027) (push) Has been cancelled
test / Windows (vim, v8.0.1453) (push) Has been cancelled
test / Windows (vim, v8.1.2269) (push) Has been cancelled
test / Windows (vim, v8.2.2434) (push) Has been cancelled
test / Windows (vim, v8.2.3995) (push) Has been cancelled
docker / docker (push) Has been cancelled
mirror / check (coding) (push) Has been cancelled
mirror / check (gitee) (push) Has been cancelled
mirror / check (gitlab) (push) Has been cancelled
131 lines
4.8 KiB
Plaintext
131 lines
4.8 KiB
Plaintext
===============================================================================
|
|
ALE Scala Integration *ale-scala-options*
|
|
|
|
|
|
===============================================================================
|
|
cspell *ale-scala-cspell*
|
|
|
|
See |ale-cspell-options|
|
|
|
|
|
|
===============================================================================
|
|
metals *ale-scala-metals*
|
|
|
|
`metals` requires either an SBT project, a Mill project, or a running Bloop
|
|
server.
|
|
|
|
|
|
g:ale_scala_metals_executable *g:ale_scala_metals_executable*
|
|
*b:ale_scala_metals_executable*
|
|
Type: |String|
|
|
Default: `'metals-vim'`
|
|
|
|
Override the invoked `metals` binary.
|
|
|
|
|
|
g:ale_scala_metals_project_root *g:ale_scala_metals_project_root*
|
|
*b:ale_scala_metals_project_root*
|
|
Type: |String|
|
|
Default: `''`
|
|
|
|
By default the project root is found by searching upwards for `build.sbt`,
|
|
`build.sc`, `.bloop` or `.metals`.
|
|
If the project root is elsewhere, you can override the project root
|
|
directory.
|
|
|
|
|
|
===============================================================================
|
|
sbtserver *ale-scala-sbtserver*
|
|
|
|
`sbtserver` requires a running ^1.1.x sbt shell to connect to. It will attempt
|
|
to connect via TCP to the address defined in `g:ale_scala_sbtserver_address`.
|
|
As `sbt` defaults to listening via unix sockets, place these settings into
|
|
your `~/.sbt/1.0/global.sbt` to ensure that ale will always attempt to connect
|
|
to the right socket:
|
|
|
|
`serverConnectionType := ConnectionType.Tcp` and `serverPort := 4273`
|
|
|
|
|
|
g:ale_scala_sbtserver_address *g:ale_scala_sbtserver_address*
|
|
*b:ale_scala_sbtserver_address*
|
|
Type: |String|
|
|
Default: `'127.0.0.1:4273'`
|
|
|
|
By default the address is found by parsing `active.json`, however, reading a
|
|
file is a blocking operation which should be avoided in ale. The easy way
|
|
around this is to configure sbt to always connect to the same port, which
|
|
the instructions above describe.
|
|
|
|
|
|
g:ale_scala_sbtserver_project_root *g:ale_scala_sbtserver_project_root*
|
|
*b:ale_scala_sbtserver_project_root*
|
|
Type: |String|
|
|
Default: `''`
|
|
|
|
By default the project root is found by searching upwards for `build.sbt`.
|
|
If the project root is elsewhere, you can override the project root
|
|
directory.
|
|
|
|
|
|
===============================================================================
|
|
scalafmt *ale-scala-scalafmt*
|
|
|
|
If Nailgun is used, override `g:ale_scala_scalafmt_executable` like so: >
|
|
let g:ale_scala_scalafmt_executable = 'ng'
|
|
|
|
|
|
g:ale_scala_scalafmt_executable *g:ale_scala_scalafmt_executable*
|
|
*b:ale_scala_scalafmt_executable*
|
|
Type: |String|
|
|
Default: `'scalafmt'`
|
|
|
|
Override the invoked `scalafmt` binary. This is useful for running `scalafmt`
|
|
with Nailgun.
|
|
|
|
|
|
g:ale_scala_scalafmt_options *g:ale_scala_scalafmt_options*
|
|
*b:ale_scala_scalafmt_options*
|
|
Type: |String|
|
|
Default: `''`
|
|
|
|
A string containing additional options to pass to `'scalafmt'`, or
|
|
`'ng scalafmt'` if Nailgun is used.
|
|
|
|
|
|
===============================================================================
|
|
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_scala_scalastyle_config *g:ale_scala_scalastyle_config*
|
|
*b:ale_scala_scalastyle_config*
|
|
Type: |String|
|
|
Default: `''`
|
|
|
|
A string containing the location of a global fallback configuration file.
|
|
|
|
By default, ALE will look for a configuration file named
|
|
`scalastyle_config.xml` or `scalastyle-config.xml` in the current file's
|
|
directory or parent directories.
|
|
|
|
|
|
g:ale_scala_scalastyle_options *g:ale_scala_scalastyle_options*
|
|
*b:ale_scala_scalastyle_options*
|
|
Type: |String|
|
|
Default: `''`
|
|
|
|
A string containing additional options to pass to scalastyle.
|
|
|
|
|
|
===============================================================================
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|