mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
Updated plugins
This commit is contained in:
@ -262,5 +262,24 @@ g:ale_c_gcc_options *g:ale_c_gcc_options*
|
||||
This variable can be change to modify flags given to gcc.
|
||||
|
||||
|
||||
===============================================================================
|
||||
uncrustify *ale-c-uncrustify*
|
||||
|
||||
g:ale_c_uncrustify_executable *g:ale_c_uncrustify_executable*
|
||||
*b:ale_c_uncrustify_executable*
|
||||
Type: |String|
|
||||
Default: `'uncrustify'`
|
||||
|
||||
This variable can be changed to use a different executable for uncrustify.
|
||||
|
||||
|
||||
g:ale_c_uncrustify_options *g:ale_c_uncrustify_options*
|
||||
*b:ale_c_uncrustify_options*
|
||||
Type: |String|
|
||||
Default: `''`
|
||||
|
||||
This variable can be change to modify flags given to uncrustify.
|
||||
|
||||
|
||||
===============================================================================
|
||||
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|
||||
|
@ -273,5 +273,11 @@ g:ale_cpp_gcc_options *g:ale_cpp_gcc_options*
|
||||
This variable can be changed to modify flags given to gcc.
|
||||
|
||||
|
||||
===============================================================================
|
||||
uncrustify *ale-cpp-uncrustify*
|
||||
|
||||
See |ale-c-uncrustify| for information about the available options.
|
||||
|
||||
|
||||
===============================================================================
|
||||
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|
||||
|
@ -98,5 +98,11 @@ g:ale_cs_mcsc_assemblies *g:ale_cs_mcsc_assemblies*
|
||||
\]
|
||||
<
|
||||
|
||||
===============================================================================
|
||||
uncrustify *ale-cs-uncrustify*
|
||||
|
||||
See |ale-c-uncrustify| for information about the available options.
|
||||
|
||||
|
||||
===============================================================================
|
||||
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|
||||
|
12
sources_non_forked/ale/doc/ale-d.txt
Normal file
12
sources_non_forked/ale/doc/ale-d.txt
Normal file
@ -0,0 +1,12 @@
|
||||
===============================================================================
|
||||
ALE D Integration *ale-d-options*
|
||||
|
||||
|
||||
===============================================================================
|
||||
uncrustify *ale-d-uncrustify*
|
||||
|
||||
See |ale-c-uncrustify| for information about the available options.
|
||||
|
||||
|
||||
===============================================================================
|
||||
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|
@ -307,6 +307,7 @@ given the above setup are as follows.
|
||||
`AssertLSPLanguage language` - Check the language given to an LSP server.
|
||||
`AssertLSPOptions options_dict` - Check the options given to an LSP server.
|
||||
`AssertLSPProject project_root` - Check the root given to an LSP server.
|
||||
`AssertLSPAddress address` - Check the address to an LSP server.
|
||||
|
||||
===============================================================================
|
||||
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|
||||
|
@ -7,7 +7,7 @@ Integration Information
|
||||
|
||||
The `gometalinter` linter is disabled by default. ALE enables `gofmt`,
|
||||
`golint` and `go vet` by default. It also supports `staticcheck`, `go
|
||||
build` and `gosimple`.
|
||||
build`, `gosimple`, and `golangserver`.
|
||||
|
||||
To enable `gometalinter`, update |g:ale_linters| as appropriate:
|
||||
>
|
||||
@ -20,6 +20,15 @@ the benefit of running a number of linters, more than ALE would by default,
|
||||
while ensuring it doesn't run any linters known to be slow or resource
|
||||
intensive.
|
||||
|
||||
g:ale_go_go_executable *g:ale_go_go_options*
|
||||
*b:ale_go_go_options*
|
||||
|
||||
Type: |String|
|
||||
Default: `'go'`
|
||||
|
||||
The executable that will be run for the `gobuild` and `govet` linters, and
|
||||
the gomod` fixer.
|
||||
|
||||
|
||||
===============================================================================
|
||||
gobuild *ale-go-gobuild*
|
||||
@ -114,5 +123,58 @@ g:ale_go_staticcheck_lint_package *g:ale_go_staticcheck_lint_package*
|
||||
current file.
|
||||
|
||||
|
||||
===============================================================================
|
||||
golangserver *ale-go-golangserver*
|
||||
|
||||
g:ale_go_langserver_executable *g:ale_go_langserver_executable*
|
||||
*b:ale_go_langserver_executable*
|
||||
Type: |String|
|
||||
Default: `'go-langserver'`
|
||||
|
||||
Location of the go-langserver binary file.
|
||||
|
||||
g:ale_go_langserver_options *g:ale_go_langserver_options*
|
||||
*b:ale_go_langserver_options*
|
||||
Type: |String|
|
||||
Default: `''`
|
||||
|
||||
Additional options passed to the go-langserver command. Note that the
|
||||
`-gocodecompletion` option is ignored because it is handled automatically
|
||||
by the |g:ale_completion_enabled| variable.
|
||||
|
||||
|
||||
===============================================================================
|
||||
golangci-lint *ale-go-golangci-lint*
|
||||
|
||||
`golangci-lint` is a `lint_file` linter, which only lints files that are
|
||||
written to disk. This differs from the default behavior of linting the buffer.
|
||||
See: |ale-lint-file|
|
||||
|
||||
g:ale_go_golangci_lint_executable *g:ale_go_golangci_lint_executable*
|
||||
*b:ale_go_golangci_lint_executable*
|
||||
Type: |String|
|
||||
Default: `'golangci-lint'`
|
||||
|
||||
The executable that will be run for golangci-lint.
|
||||
|
||||
|
||||
g:ale_go_golangci_lint_options *g:ale_go_golangci_lint_options*
|
||||
*b:ale_go_golangci_lint_options*
|
||||
Type: |String|
|
||||
Default: `'--enable-all'`
|
||||
|
||||
This variable can be changed to alter the command-line arguments to the
|
||||
golangci-lint invocation.
|
||||
|
||||
|
||||
g:ale_go_golangci_lint_package *g:ale_go_golangci_lint_package*
|
||||
*b:ale_go_golangci_lint_package*
|
||||
Type: |Number|
|
||||
Default: `0`
|
||||
|
||||
When set to `1`, the whole Go package will be checked instead of only the
|
||||
current file.
|
||||
|
||||
|
||||
===============================================================================
|
||||
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|
||||
|
@ -75,5 +75,34 @@ g:ale_java_pmd_options *g:ale_java_pmd_options*
|
||||
and -d. They are added automatically.
|
||||
|
||||
|
||||
===============================================================================
|
||||
javalsp *ale-java-javalsp*
|
||||
|
||||
To enable Java LSP linter you need to download and build the vscode-javac
|
||||
language server from https://github.com/georgewfraser/vscode-javac. Simply
|
||||
download the source code and then build the plugin using maven:
|
||||
|
||||
mvn package
|
||||
|
||||
This generates a out/fat-jar.jar file that contains the language server. To
|
||||
let ALE use this language server you need to set the g:ale_java_javalsp_jar
|
||||
variable to the absolute path of this jar file.
|
||||
|
||||
g:ale_java_javalsp_jar *g:ale_java_javalsp_jar*
|
||||
*b:ale_java_javalsp_jar*
|
||||
|
||||
Type: String
|
||||
Default: 'fat-jar.jar
|
||||
|
||||
Path to the location of the vscode-javac language server plugin.
|
||||
and -d. They are added automatically.
|
||||
|
||||
|
||||
===============================================================================
|
||||
uncrustify *ale-java-uncrustify*
|
||||
|
||||
See |ale-c-uncrustify| for information about the available options.
|
||||
|
||||
|
||||
===============================================================================
|
||||
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|
||||
|
20
sources_non_forked/ale/doc/ale-julia.txt
Normal file
20
sources_non_forked/ale/doc/ale-julia.txt
Normal file
@ -0,0 +1,20 @@
|
||||
===============================================================================
|
||||
ALE Julia Integration *ale-julia-options*
|
||||
|
||||
===============================================================================
|
||||
languageserver *ale-julia-languageserver*
|
||||
|
||||
To enable Julia LSP linter you need to install the LanguageServer.jl package
|
||||
within julia.
|
||||
|
||||
g:ale_julia_executable *g:ale_julia_executable*
|
||||
*b:ale_julia_executable*
|
||||
|
||||
Type: |String|
|
||||
Default: 'julia'
|
||||
|
||||
Path to the julia exetuable.
|
||||
|
||||
===============================================================================
|
||||
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|
||||
|
@ -32,5 +32,11 @@ g:ale_objc_clangd_options *g:ale_objc_clangd_options*
|
||||
This variable can be changed to modify flags given to clangd.
|
||||
|
||||
|
||||
===============================================================================
|
||||
uncrustify *ale-objc-uncrustify*
|
||||
|
||||
See |ale-c-uncrustify| for information about the available options.
|
||||
|
||||
|
||||
===============================================================================
|
||||
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|
||||
|
@ -32,5 +32,11 @@ g:ale_objcpp_clangd_options *g:ale_objcpp_clangd_options*
|
||||
This variable can be changed to modify flags given to clangd.
|
||||
|
||||
|
||||
===============================================================================
|
||||
uncrustify *ale-objcpp-uncrustify*
|
||||
|
||||
See |ale-c-uncrustify| for information about the available options.
|
||||
|
||||
|
||||
===============================================================================
|
||||
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|
||||
|
@ -33,5 +33,22 @@ g:ale_ocaml_ols_use_global *g:ale_ocaml_ols_use_global*
|
||||
This variable can be set to `1` to always use the globally installed
|
||||
executable. See also |ale-integrations-local-executables|.
|
||||
|
||||
===============================================================================
|
||||
ocamlformat *ale-ocaml-ocamlformat*
|
||||
|
||||
g:ale_ocaml_ocamlformat_executable *g:ale_ocaml_ocamlformat_executable*
|
||||
*b:ale_ocaml_ocamlformat_executable*
|
||||
Type: |String|
|
||||
Default: `'ocamlformat'`
|
||||
|
||||
This variable can be set to pass the path of the ocamlformat fixer.
|
||||
|
||||
g:ale_ocaml_ocamlformat_options *g:ale_ocaml_ocamlformat_options*
|
||||
*b:ale_ocaml_ocamlformat_options*
|
||||
Type: |String|
|
||||
Default: `''`
|
||||
|
||||
This variable can be set to pass additional options to the ocamlformat fixer.
|
||||
|
||||
===============================================================================
|
||||
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|
||||
|
12
sources_non_forked/ale/doc/ale-pawn.txt
Normal file
12
sources_non_forked/ale/doc/ale-pawn.txt
Normal file
@ -0,0 +1,12 @@
|
||||
===============================================================================
|
||||
ALE Pawn Integration *ale-pawn-options*
|
||||
|
||||
|
||||
===============================================================================
|
||||
uncrustify *ale-pawn-uncrustify*
|
||||
|
||||
See |ale-c-uncrustify| for information about the available options.
|
||||
|
||||
|
||||
===============================================================================
|
||||
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|
@ -2,6 +2,26 @@
|
||||
ALE Puppet Integration *ale-puppet-options*
|
||||
|
||||
|
||||
===============================================================================
|
||||
puppet *ale-puppet-puppet*
|
||||
|
||||
g:ale_puppet_puppet_executable *g:ale_puppet_puppet_executable*
|
||||
*b:ale_puppet_puppet_executable*
|
||||
Type: |String|
|
||||
Default: `'puppet'`
|
||||
|
||||
This variable can be changed to specify the executable used for puppet.
|
||||
|
||||
|
||||
g:ale_puppet_puppet_options *g:ale_puppet_puppet_options*
|
||||
*b:ale_puppet_puppet_options*
|
||||
Type: |String|
|
||||
Default: `''`
|
||||
|
||||
This variable can be changed to add command-line arguments to the
|
||||
puppet parser validate invocation.
|
||||
|
||||
|
||||
===============================================================================
|
||||
puppetlint *ale-puppet-puppetlint*
|
||||
|
||||
|
@ -2,6 +2,14 @@
|
||||
ALE Python Integration *ale-python-options*
|
||||
|
||||
|
||||
g:ale_python_auto_pipenv *g:ale_python_auto_pipenv*
|
||||
*b:ale_python_auto_pipenv*
|
||||
Type: |Number|
|
||||
Default: `0`
|
||||
|
||||
Detect whether the file is inside a pipenv, and set the executable to `pipenv`
|
||||
if true. This is overridden by a manually-set executable.
|
||||
|
||||
===============================================================================
|
||||
ALE Python Project Root Behavior *ale-python-root*
|
||||
|
||||
@ -137,6 +145,15 @@ g:ale_python_flake8_use_global *g:ale_python_flake8_use_global*
|
||||
Both variables can be set with `b:` buffer variables instead.
|
||||
|
||||
|
||||
g:ale_python_flake8_auto_pipenv *g:ale_python_flake8_auto_pipenv*
|
||||
*b:ale_python_flake8_auto_pipenv*
|
||||
Type: |Number|
|
||||
Default: `0`
|
||||
|
||||
Detect whether the file is inside a pipenv, and set the executable to `pipenv`
|
||||
if true. This is overridden by a manually-set executable.
|
||||
|
||||
|
||||
===============================================================================
|
||||
isort *ale-python-isort*
|
||||
|
||||
@ -211,6 +228,15 @@ g:ale_python_mypy_use_global *g:ale_python_mypy_use_global*
|
||||
See |ale-integrations-local-executables|
|
||||
|
||||
|
||||
g:ale_python_mypy_auto_pipenv *g:ale_python_mypy_auto_pipenv*
|
||||
*b:ale_python_mypy_auto_pipenv*
|
||||
Type: |Number|
|
||||
Default: `0`
|
||||
|
||||
Detect whether the file is inside a pipenv, and set the executable to `pipenv`
|
||||
if true. This is overridden by a manually-set executable.
|
||||
|
||||
|
||||
===============================================================================
|
||||
prospector *ale-python-prospector*
|
||||
|
||||
@ -253,6 +279,15 @@ g:ale_python_prospector_use_global *g:ale_python_prospector_use_global*
|
||||
See |ale-integrations-local-executables|
|
||||
|
||||
|
||||
g:ale_python_prospector_auto_pipenv *g:ale_python_prospector_auto_pipenv*
|
||||
*b:ale_python_prospector_auto_pipenv*
|
||||
Type: |Number|
|
||||
Default: `0`
|
||||
|
||||
Detect whether the file is inside a pipenv, and set the executable to `pipenv`
|
||||
if true. This is overridden by a manually-set executable.
|
||||
|
||||
|
||||
===============================================================================
|
||||
pycodestyle *ale-python-pycodestyle*
|
||||
|
||||
@ -284,6 +319,15 @@ g:ale_python_pycodestyle_use_global *g:ale_python_pycodestyle_use_global*
|
||||
See |ale-integrations-local-executables|
|
||||
|
||||
|
||||
g:ale_python_pycodestyle_auto_pipenv *g:ale_python_pycodestyle_auto_pipenv*
|
||||
*b:ale_python_pycodestyle_auto_pipenv*
|
||||
Type: |Number|
|
||||
Default: `0`
|
||||
|
||||
Detect whether the file is inside a pipenv, and set the executable to `pipenv`
|
||||
if true. This is overridden by a manually-set executable.
|
||||
|
||||
|
||||
===============================================================================
|
||||
pyflakes *ale-python-pyflakes*
|
||||
|
||||
@ -298,6 +342,15 @@ g:ale_python_pyflakes_executable *g:ale_python_pyflakes_executable*
|
||||
Set this to `'pipenv'` to invoke `'pipenv` `run` `pyflakes'`.
|
||||
|
||||
|
||||
g:ale_python_pyflakes_auto_pipenv *g:ale_python_pyflakes_auto_pipenv*
|
||||
*b:ale_python_pyflakes_auto_pipenv*
|
||||
Type: |Number|
|
||||
Default: `0`
|
||||
|
||||
Detect whether the file is inside a pipenv, and set the executable to `pipenv`
|
||||
if true. This is overridden by a manually-set executable.
|
||||
|
||||
|
||||
===============================================================================
|
||||
pylint *ale-python-pylint*
|
||||
|
||||
@ -350,6 +403,15 @@ g:ale_python_pylint_use_global *g:ale_python_pylint_use_global*
|
||||
See |ale-integrations-local-executables|
|
||||
|
||||
|
||||
g:ale_python_pylint_auto_pipenv *g:ale_python_pylint_auto_pipenv*
|
||||
*b:ale_python_pylint_auto_pipenv*
|
||||
Type: |Number|
|
||||
Default: `0`
|
||||
|
||||
Detect whether the file is inside a pipenv, and set the executable to `pipenv`
|
||||
if true. This is overridden by a manually-set executable.
|
||||
|
||||
|
||||
===============================================================================
|
||||
pyls *ale-python-pyls*
|
||||
|
||||
@ -374,6 +436,15 @@ g:ale_python_pyls_use_global *g:ale_python_pyls_use_global*
|
||||
See |ale-integrations-local-executables|
|
||||
|
||||
|
||||
g:ale_python_pyls_auto_pipenv *g:ale_python_pyls_auto_pipenv*
|
||||
*b:ale_python_pyls_auto_pipenv*
|
||||
Type: |Number|
|
||||
Default: `0`
|
||||
|
||||
Detect whether the file is inside a pipenv, and set the executable to `pipenv`
|
||||
if true. This is overridden by a manually-set executable.
|
||||
|
||||
|
||||
===============================================================================
|
||||
pyre *ale-python-pyre*
|
||||
|
||||
@ -398,6 +469,15 @@ g:ale_python_pyre_use_global *g:ale_python_pyre_use_global*
|
||||
See |ale-integrations-local-executables|
|
||||
|
||||
|
||||
g:ale_python_pyre_auto_pipenv *g:ale_python_pyre_auto_pipenv*
|
||||
*b:ale_python_pyre_auto_pipenv*
|
||||
Type: |Number|
|
||||
Default: `0`
|
||||
|
||||
Detect whether the file is inside a pipenv, and set the executable to `pipenv`
|
||||
if true. This is overridden by a manually-set executable.
|
||||
|
||||
|
||||
===============================================================================
|
||||
vulture *ale-python-vulture*
|
||||
|
||||
|
@ -5,6 +5,15 @@ ALE Ruby Integration *ale-ruby-options*
|
||||
===============================================================================
|
||||
brakeman *ale-ruby-brakeman*
|
||||
|
||||
g:ale_ruby_brakeman_executable *g:ale_ruby_brakeman_executable*
|
||||
*b:ale_ruby_brakeman_executable*
|
||||
Type: String
|
||||
Default: `'brakeman'`
|
||||
|
||||
Override the invoked brakeman binary. Set this to `'bundle'` to invoke
|
||||
`'bundle` `exec` brakeman'.
|
||||
|
||||
|
||||
g:ale_ruby_brakeman_options *g:ale_ruby_brakeman_options*
|
||||
*b:ale_ruby_brakeman_options*
|
||||
Type: |String|
|
||||
@ -20,10 +29,11 @@ g:ale_ruby_rails_best_practices_executable
|
||||
*g:ale_ruby_rails_best_practices_executable*
|
||||
*b:ale_ruby_rails_best_practices_executable*
|
||||
Type: String
|
||||
Default: 'rails_best_practices'
|
||||
Default: `'rails_best_practices'`
|
||||
|
||||
Override the invoked rails_best_practices binary. Set this to `'bundle'` to
|
||||
invoke `'bundle` `exec` `rails_best_practices'`.
|
||||
invoke `'bundle` `exec` rails_best_practices'.
|
||||
|
||||
|
||||
g:ale_ruby_rails_best_practices_options
|
||||
*g:ale_ruby_rails_best_practices_options*
|
||||
@ -37,6 +47,15 @@ g:ale_ruby_rails_best_practices_options
|
||||
===============================================================================
|
||||
reek *ale-ruby-reek*
|
||||
|
||||
g:ale_ruby_reek_executable *g:ale_ruby_reek_executable*
|
||||
*b:ale_ruby_reek_executable*
|
||||
Type: String
|
||||
Default: `'reek'`
|
||||
|
||||
Override the invoked reek binary. Set this to `'bundle'` to invoke
|
||||
`'bundle` `exec` reek'.
|
||||
|
||||
|
||||
g:ale_ruby_reek_show_context *g:ale_ruby_reek_show_context*
|
||||
*b:ale_ruby_reek_show_context*
|
||||
Type: |Number|
|
||||
@ -63,8 +82,8 @@ g:ale_ruby_rubocop_executable *g:ale_ruby_rubocop_executable*
|
||||
Type: String
|
||||
Default: `'rubocop'`
|
||||
|
||||
Override the invoked rubocop binary. This is useful for running rubocop
|
||||
from binstubs or a bundle.
|
||||
Override the invoked rubocop binary. Set this to `'bundle'` to invoke
|
||||
`'bundle` `exec` rubocop'.
|
||||
|
||||
|
||||
g:ale_ruby_rubocop_options *g:ale_ruby_rubocop_options*
|
||||
@ -98,5 +117,17 @@ g:ale_ruby_rufo_executable *g:ale_ruby_rufo_executable*
|
||||
binstubs or a bundle.
|
||||
|
||||
|
||||
===============================================================================
|
||||
solargraph *ale-ruby-solargraph*
|
||||
|
||||
g:ale_ruby_solargraph_executable *g:ale_ruby_solargraph_executable*
|
||||
*b:ale_ruby_solargraph_executable*
|
||||
Type: String
|
||||
Default: `'solargraph'`
|
||||
|
||||
Override the invoked solargraph binary. This is useful for running solargraph
|
||||
from binstubs or a bundle.
|
||||
|
||||
|
||||
===============================================================================
|
||||
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|
||||
|
@ -115,8 +115,8 @@ g:ale_rust_cargo_avoid_whole_workspace *g:ale_rust_cargo_avoid_whole_workspace*
|
||||
Default: `1`
|
||||
|
||||
When set to 1, and ALE is used to edit a crate that is part of a Cargo
|
||||
workspace, avoid building the entire entire workspace by invoking
|
||||
`cargo` directly in the crate's directory. Otherwise, behave as usual.
|
||||
workspace, avoid building the entire workspace by invoking `cargo` directly
|
||||
in the crate's directory. Otherwise, behave as usual.
|
||||
|
||||
|
||||
===============================================================================
|
||||
|
@ -2,6 +2,39 @@
|
||||
ALE Scala Integration *ale-scala-options*
|
||||
|
||||
|
||||
===============================================================================
|
||||
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*
|
||||
|
||||
|
25
sources_non_forked/ale/doc/ale-sql.txt
Normal file
25
sources_non_forked/ale/doc/ale-sql.txt
Normal file
@ -0,0 +1,25 @@
|
||||
===============================================================================
|
||||
ALE SQL Integration *ale-sql-options*
|
||||
|
||||
|
||||
===============================================================================
|
||||
sqlfmt *ale-sql-sqlfmt*
|
||||
|
||||
g:ale_sql_sqlfmt_executable *g:ale_sql_sqlfmt_executable*
|
||||
*b:ale_sql_sqlfmt_executable*
|
||||
Type: |String|
|
||||
Default: `'sqlfmt'`
|
||||
|
||||
This variable sets executable used for sqlfmt.
|
||||
|
||||
g:ale_sql_sqlfmt_options *g:ale_sql_sqlfmt_options*
|
||||
*b:ale_sql_sqlfmt_options*
|
||||
Type: |String|
|
||||
Default: `''`
|
||||
|
||||
This variable can be set to pass additional options to the sqlfmt fixer.
|
||||
At this time only the -u flag is available to format with upper-case.
|
||||
|
||||
|
||||
===============================================================================
|
||||
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|
@ -28,7 +28,7 @@ g:ale_thrift_thrift_generators *g:ale_thrift_thrift_generators*
|
||||
g:ale_thrift_thrift_includes *g:ale_thrift_thrift_includes*
|
||||
*b:ale_thrift_thrift_includes*
|
||||
Type: |List| of |String|s
|
||||
Default: `[]`
|
||||
Default: `['.']`
|
||||
|
||||
This list contains paths that will be searched for thrift `include`
|
||||
directives.
|
||||
|
12
sources_non_forked/ale/doc/ale-vala.txt
Normal file
12
sources_non_forked/ale/doc/ale-vala.txt
Normal file
@ -0,0 +1,12 @@
|
||||
===============================================================================
|
||||
ALE VALA Integration *ale-vala-options*
|
||||
|
||||
|
||||
===============================================================================
|
||||
uncrustify *ale-vala-uncrustify*
|
||||
|
||||
See |ale-c-uncrustify| for information about the available options.
|
||||
|
||||
|
||||
===============================================================================
|
||||
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|
@ -21,6 +21,14 @@ g:ale_xml_xmllint_options *g:ale_xml_xmllint_options*
|
||||
This variable can be set to pass additional options to xmllint.
|
||||
|
||||
|
||||
g:ale_xml_xmllint_indentsize *g:ale_xml_xmllint_indentsize*
|
||||
*b:ale_xml_xmllint_indentsize*
|
||||
Type: |Number|
|
||||
Default: 2
|
||||
|
||||
This variable can be sent to specify the amount of spaces used for
|
||||
indentation.
|
||||
|
||||
===============================================================================
|
||||
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|
||||
|
||||
|
@ -33,6 +33,7 @@ CONTENTS *ale-contents*
|
||||
cquery..............................|ale-c-cquery|
|
||||
flawfinder..........................|ale-c-flawfinder|
|
||||
gcc.................................|ale-c-gcc|
|
||||
uncrustify..........................|ale-c-uncrustify|
|
||||
chef..................................|ale-chef-options|
|
||||
foodcritic..........................|ale-chef-foodcritic|
|
||||
clojure...............................|ale-clojure-options|
|
||||
@ -53,14 +54,18 @@ CONTENTS *ale-contents*
|
||||
cquery..............................|ale-cpp-cquery|
|
||||
flawfinder..........................|ale-cpp-flawfinder|
|
||||
gcc.................................|ale-cpp-gcc|
|
||||
uncrustify..........................|ale-cpp-uncrustify|
|
||||
c#....................................|ale-cs-options|
|
||||
mcs.................................|ale-cs-mcs|
|
||||
mcsc................................|ale-cs-mcsc|
|
||||
uncrustify..........................|ale-cs-uncrustify|
|
||||
css...................................|ale-css-options|
|
||||
prettier............................|ale-css-prettier|
|
||||
stylelint...........................|ale-css-stylelint|
|
||||
cuda..................................|ale-cuda-options|
|
||||
nvcc................................|ale-cuda-nvcc|
|
||||
d.....................................|ale-d-options|
|
||||
uncrustify..........................|ale-d-uncrustify|
|
||||
dart..................................|ale-dart-options|
|
||||
dartanalyzer........................|ale-dart-dartanalyzer|
|
||||
dartfmt.............................|ale-dart-dartfmt|
|
||||
@ -95,6 +100,8 @@ CONTENTS *ale-contents*
|
||||
govet...............................|ale-go-govet|
|
||||
gometalinter........................|ale-go-gometalinter|
|
||||
staticcheck.........................|ale-go-staticcheck|
|
||||
golangserver........................|ale-go-golangserver|
|
||||
golangci-lint.......................|ale-go-golangci-lint|
|
||||
graphql...............................|ale-graphql-options|
|
||||
eslint..............................|ale-graphql-eslint|
|
||||
gqlint..............................|ale-graphql-gqlint|
|
||||
@ -127,6 +134,8 @@ CONTENTS *ale-contents*
|
||||
javac...............................|ale-java-javac|
|
||||
google-java-format..................|ale-java-google-java-format|
|
||||
pmd.................................|ale-java-pmd|
|
||||
javalsp.............................|ale-java-javalsp|
|
||||
uncrustify..........................|ale-java-uncrustify|
|
||||
javascript............................|ale-javascript-options|
|
||||
eslint..............................|ale-javascript-eslint|
|
||||
flow................................|ale-javascript-flow|
|
||||
@ -143,6 +152,8 @@ CONTENTS *ale-contents*
|
||||
jsonlint............................|ale-json-jsonlint|
|
||||
jq..................................|ale-json-jq|
|
||||
prettier............................|ale-json-prettier|
|
||||
julia.................................|ale-julia-options|
|
||||
languageserver......................|ale-julia-languageserver|
|
||||
kotlin................................|ale-kotlin-options|
|
||||
kotlinc.............................|ale-kotlin-kotlinc|
|
||||
ktlint..............................|ale-kotlin-ktlint|
|
||||
@ -173,12 +184,17 @@ CONTENTS *ale-contents*
|
||||
objc..................................|ale-objc-options|
|
||||
clang...............................|ale-objc-clang|
|
||||
clangd..............................|ale-objc-clangd|
|
||||
uncrustify..........................|ale-objc-uncrustify|
|
||||
objcpp................................|ale-objcpp-options|
|
||||
clang...............................|ale-objcpp-clang|
|
||||
clangd..............................|ale-objcpp-clangd|
|
||||
uncrustify..........................|ale-objcpp-uncrustify|
|
||||
ocaml.................................|ale-ocaml-options|
|
||||
merlin..............................|ale-ocaml-merlin|
|
||||
ols.................................|ale-ocaml-ols|
|
||||
ocamlformat.........................|ale-ocaml-ocamlformat|
|
||||
pawn..................................|ale-pawn-options|
|
||||
uncrustify..........................|ale-pawn-uncrustify|
|
||||
perl..................................|ale-perl-options|
|
||||
perl................................|ale-perl-perl|
|
||||
perlcritic..........................|ale-perl-perlcritic|
|
||||
@ -202,6 +218,7 @@ CONTENTS *ale-contents*
|
||||
pug...................................|ale-pug-options|
|
||||
puglint.............................|ale-pug-puglint|
|
||||
puppet................................|ale-puppet-options|
|
||||
puppet..............................|ale-puppet-puppet|
|
||||
puppetlint..........................|ale-puppet-puppetlint|
|
||||
puppet-languageserver...............|ale-puppet-languageserver|
|
||||
pyrex (cython)........................|ale-pyrex-options|
|
||||
@ -237,6 +254,7 @@ CONTENTS *ale-contents*
|
||||
rubocop.............................|ale-ruby-rubocop|
|
||||
ruby................................|ale-ruby-ruby|
|
||||
rufo................................|ale-ruby-rufo|
|
||||
solargraph..........................|ale-ruby-solargraph|
|
||||
rust..................................|ale-rust-options|
|
||||
cargo...............................|ale-rust-cargo|
|
||||
rls.................................|ale-rust-rls|
|
||||
@ -245,6 +263,7 @@ CONTENTS *ale-contents*
|
||||
sass..................................|ale-sass-options|
|
||||
stylelint...........................|ale-sass-stylelint|
|
||||
scala.................................|ale-scala-options|
|
||||
sbtserver...........................|ale-scala-sbtserver|
|
||||
scalafmt............................|ale-scala-scalafmt|
|
||||
scalastyle..........................|ale-scala-scalastyle|
|
||||
scss..................................|ale-scss-options|
|
||||
@ -262,6 +281,8 @@ CONTENTS *ale-contents*
|
||||
solium..............................|ale-solidity-solium|
|
||||
spec..................................|ale-spec-options|
|
||||
rpmlint.............................|ale-spec-rpmlint|
|
||||
sql...................................|ale-sql-options|
|
||||
sqlfmt..............................|ale-sql-sqlfmt|
|
||||
stylus................................|ale-stylus-options|
|
||||
stylelint...........................|ale-stylus-stylelint|
|
||||
tcl...................................|ale-tcl-options|
|
||||
@ -283,6 +304,8 @@ CONTENTS *ale-contents*
|
||||
prettier............................|ale-typescript-prettier|
|
||||
tslint..............................|ale-typescript-tslint|
|
||||
tsserver............................|ale-typescript-tsserver|
|
||||
vala..................................|ale-vala-options|
|
||||
uncrustify..........................|ale-vala-uncrustify|
|
||||
verilog/systemverilog.................|ale-verilog-options|
|
||||
iverilog............................|ale-verilog-iverilog|
|
||||
verilator...........................|ale-verilog-verilator|
|
||||
@ -352,10 +375,10 @@ Notes:
|
||||
* Awk: `gawk`
|
||||
* Bash: `language-server`, `shell` (-n flag), `shellcheck`, `shfmt`
|
||||
* Bourne Shell: `shell` (-n flag), `shellcheck`, `shfmt`
|
||||
* C: `cppcheck`, `cpplint`!!, `clang`, `clangd`, `clangtidy`!!, `clang-format`, `cquery`, `flawfinder`, `gcc`
|
||||
* C++ (filetype cpp): `clang`, `clangd`, `clangcheck`!!, `clangtidy`!!, `clang-format`, `clazy`!!, `cppcheck`, `cpplint`!!, `cquery`, `flawfinder`, `gcc`
|
||||
* C: `cppcheck`, `cpplint`!!, `clang`, `clangd`, `clangtidy`!!, `clang-format`, `cquery`, `flawfinder`, `gcc`, `uncrustify`
|
||||
* C++ (filetype cpp): `clang`, `clangd`, `clangcheck`!!, `clangtidy`!!, `clang-format`, `clazy`!!, `cppcheck`, `cpplint`!!, `cquery`, `flawfinder`, `gcc`, `uncrustify`
|
||||
* CUDA: `nvcc`!!
|
||||
* C#: `mcs`, `mcsc`!!
|
||||
* C#: `mcs`, `mcsc`!!, `uncrustify`
|
||||
* Chef: `foodcritic`
|
||||
* Clojure: `joker`
|
||||
* CloudFormation: `cfn-python-lint`
|
||||
@ -365,7 +388,7 @@ Notes:
|
||||
* CSS: `csslint`, `prettier`, `stylelint`
|
||||
* Cucumber: `cucumber`
|
||||
* Cython (pyrex filetype): `cython`
|
||||
* D: `dmd`
|
||||
* D: `dmd`, `uncrustify`
|
||||
* Dafny: `dafny`!!
|
||||
* Dart: `dartanalyzer`!!, `language_server`, dartfmt!!
|
||||
* Dockerfile: `hadolint`
|
||||
@ -379,7 +402,7 @@ Notes:
|
||||
* FusionScript: `fusion-lint`
|
||||
* Git Commit Messages: `gitlint`
|
||||
* GLSL: glslang, `glslls`
|
||||
* Go: `gofmt`, `goimports`, `go vet`!!, `golint`, `gotype`!!, `gometalinter`!!, `go build`!!, `gosimple`!!, `staticcheck`!!
|
||||
* Go: `gofmt`, `goimports`, `go mod`!!, `go vet`!!, `golint`, `gotype`!!, `gometalinter`!!, `go build`!!, `gosimple`!!, `staticcheck`!!, `golangserver`, `golangci-lint`!!
|
||||
* GraphQL: `eslint`, `gqlint`, `prettier`
|
||||
* Hack: `hack`, `hackfmt`, `hhast`
|
||||
* Haml: `haml-lint`
|
||||
@ -387,9 +410,10 @@ Notes:
|
||||
* Haskell: `brittany`, `ghc`, `cabal-ghc`, `stylish-haskell`, `stack-ghc`, `stack-build`!!, `ghc-mod`, `stack-ghc-mod`, `hlint`, `hdevtools`, `hfmt`, `hie`
|
||||
* HTML: `alex`!!, `HTMLHint`, `proselint`, `tidy`, `write-good`
|
||||
* Idris: `idris`
|
||||
* Java: `checkstyle`, `javac`, `google-java-format`, `PMD`
|
||||
* Java: `checkstyle`, `javac`, `google-java-format`, `PMD`, `javalsp`, `uncrustify`
|
||||
* JavaScript: `eslint`, `flow`, `jscs`, `jshint`, `prettier`, `prettier-eslint`, `prettier-standard`, `standard`, `xo`
|
||||
* JSON: `fixjson`, `jsonlint`, `jq`, `prettier`
|
||||
* Julia: `languageserver`
|
||||
* Kotlin: `kotlinc`!!, `ktlint`!!, `languageserver`
|
||||
* LaTeX (tex): `alex`!!, `chktex`, `lacheck`, `proselint`, `redpen`, `vale`, `write-good`
|
||||
* Less: `lessc`, `prettier`, `stylelint`
|
||||
@ -404,9 +428,10 @@ Notes:
|
||||
* Nim: `nim check`!!
|
||||
* nix: `nix-instantiate`
|
||||
* nroff: `alex`!!, `proselint`, `write-good`
|
||||
* Objective-C: `clang`, `clangd`
|
||||
* Objective-C++: `clang`, `clangd`
|
||||
* OCaml: `merlin` (see |ale-ocaml-merlin|), `ols`
|
||||
* Objective-C: `clang`, `clangd`, `uncrustify`
|
||||
* Objective-C++: `clang`, `clangd`, `uncrustify`
|
||||
* OCaml: `merlin` (see |ale-ocaml-merlin|), `ols`, `ocamlformat`
|
||||
* Pawn: `uncrustify`
|
||||
* Perl: `perl -c`, `perl-critic`, `perltidy`
|
||||
* PHP: `langserver`, `phan`, `php -l`, `phpcs`, `phpmd`, `phpstan`, `phpcbf`, `php-cs-fixer`
|
||||
* PO: `alex`!!, `msgfmt`, `proselint`, `write-good`
|
||||
@ -422,16 +447,16 @@ Notes:
|
||||
* reStructuredText: `alex`!!, `proselint`, `redpen`, `rstcheck`, `vale`, `write-good`
|
||||
* Re:VIEW: `redpen`
|
||||
* RPM spec: `rpmlint`
|
||||
* Ruby: `brakeman`, `rails_best_practices`!!, `reek`, `rubocop`, `ruby`, `rufo`
|
||||
* Ruby: `brakeman`, `rails_best_practices`!!, `reek`, `rubocop`, `ruby`, `rufo`, `solargraph`
|
||||
* Rust: `cargo`!!, `rls`, `rustc` (see |ale-integration-rust|), `rustfmt`
|
||||
* SASS: `sass-lint`, `stylelint`
|
||||
* SCSS: `prettier`, `sass-lint`, `scss-lint`, `stylelint`
|
||||
* Scala: `fsc`, `scalac`, `scalafmt`, `scalastyle`
|
||||
* Scala: `fsc`, `sbtserver`, `scalac`, `scalafmt`, `scalastyle`
|
||||
* Slim: `slim-lint`
|
||||
* SML: `smlnj`
|
||||
* Solidity: `solhint`, `solium`
|
||||
* Stylus: `stylelint`
|
||||
* SQL: `sqlint`
|
||||
* SQL: `sqlint`, `sqlfmt`
|
||||
* Swift: `swiftlint`, `swiftformat`
|
||||
* Tcl: `nagelfar`!!
|
||||
* Terraform: `tflint`
|
||||
@ -439,6 +464,7 @@ Notes:
|
||||
* Text^: `alex`!!, `proselint`, `redpen`, `textlint`, `vale`, `write-good`
|
||||
* Thrift: `thrift`
|
||||
* TypeScript: `eslint`, `prettier`, `tslint`, `tsserver`, `typecheck`
|
||||
* VALA: `uncrustify`
|
||||
* Verilog: `iverilog`, `verilator`
|
||||
* Vim: `vint`
|
||||
* Vim help^: `alex`!!, `proselint`, `write-good`
|
||||
@ -501,12 +527,13 @@ circumstances.
|
||||
ALE will report problems with your code in the following ways, listed with
|
||||
their relevant options.
|
||||
|
||||
* By updating loclist. (On by default) - |g:ale_set_loclist|
|
||||
* By updating quickfix. (Off by default) - |g:ale_set_quickfix|
|
||||
* By setting error highlights. - |g:ale_set_highlights|
|
||||
* By creating signs in the sign column. - |g:ale_set_signs|
|
||||
* By echoing messages based on your cursor. - |g:ale_echo_cursor|
|
||||
* By showing balloons for your mouse cursor - |g:ale_set_balloons|
|
||||
* By updating loclist. (On by default) - |g:ale_set_loclist|
|
||||
* By updating quickfix. (Off by default) - |g:ale_set_quickfix|
|
||||
* By setting error highlights. - |g:ale_set_highlights|
|
||||
* By creating signs in the sign column. - |g:ale_set_signs|
|
||||
* By echoing messages based on your cursor. - |g:ale_echo_cursor|
|
||||
* By displaying the preview based on your cursor. - |g:ale_cursor_detail|
|
||||
* By showing balloons for your mouse cursor - |g:ale_set_balloons|
|
||||
|
||||
Please consult the documentation for each option, which can reveal some other
|
||||
ways of tweaking the behaviour of each way of displaying problems. You can
|
||||
@ -779,6 +806,20 @@ g:ale_change_sign_column_color *g:ale_change_sign_column_color*
|
||||
windows.
|
||||
|
||||
|
||||
g:ale_close_preview_on_insert *g:ale_close_preview_on_insert*
|
||||
|
||||
Type: |Number|
|
||||
Default: `0`
|
||||
|
||||
When this option is set to `1`, ALE's |preview-window| will be automatically
|
||||
closed upon entering Insert Mode. This option can be used in combination
|
||||
with |g:ale_cursor_detail| for automatically displaying the preview window
|
||||
on problem lines, and automatically closing it again when editing text.
|
||||
|
||||
This setting must be set to `1` before ALE is loaded for this behavior
|
||||
to be enabled. See |ale-lint-settings-on-startup|.
|
||||
|
||||
|
||||
g:ale_command_wrapper *g:ale_command_wrapper*
|
||||
*b:ale_command_wrapper*
|
||||
Type: |String|
|
||||
@ -867,6 +908,27 @@ g:ale_completion_max_suggestions *g:ale_completion_max_suggestions*
|
||||
Adjust this option as needed, depending on the complexity of your codebase
|
||||
and your available processing power.
|
||||
|
||||
g:ale_cursor_detail *g:ale_cursor_detail*
|
||||
|
||||
Type: |Number|
|
||||
Default: `0`
|
||||
|
||||
When this option is set to `1`, ALE's |preview-window| will be automatically
|
||||
opened when the cursor moves onto lines with problems. ALE will search for
|
||||
problems using the same logic that |g:ale_echo_cursor| uses. The preview
|
||||
window will be closed automatically when you move away from the line.
|
||||
|
||||
Messages are only displayed after a short delay. See |g:ale_echo_delay|.
|
||||
|
||||
The preview window is opened without stealing focus, which means your cursor
|
||||
will stay in the same buffer as it currently is.
|
||||
|
||||
The preview window can be closed automatically upon entering Insert mode
|
||||
by setting |g:ale_close_preview_on_insert| to `1`.
|
||||
|
||||
Either this setting or |g:ale_echo_cursor| must be set to `1` before ALE is
|
||||
loaded for messages to be displayed. See |ale-lint-settings-on-startup|.
|
||||
|
||||
|
||||
g:ale_echo_cursor *g:ale_echo_cursor*
|
||||
|
||||
@ -877,11 +939,14 @@ g:ale_echo_cursor *g:ale_echo_cursor*
|
||||
cursor is near a warning or error. ALE will attempt to find the warning or
|
||||
error at a column nearest to the cursor when the cursor is resting on a line
|
||||
which contains a warning or error. This option can be set to `0` to disable
|
||||
this behaviour.
|
||||
The format of the message can be customizable in |g:ale_echo_msg_format|.
|
||||
this behavior.
|
||||
|
||||
You should set this setting once before ALE is loaded, and restart Vim if
|
||||
you want to change your preferences. See |ale-lint-settings-on-startup|.
|
||||
Messages are only displayed after a short delay. See |g:ale_echo_delay|.
|
||||
|
||||
The format of the message can be customized with |g:ale_echo_msg_format|.
|
||||
|
||||
Either this setting or |g:ale_cursor_detail| must be set to `1` before ALE
|
||||
is loaded for messages to be displayed. See |ale-lint-settings-on-startup|.
|
||||
|
||||
|
||||
g:ale_echo_delay *g:ale_echo_delay*
|
||||
@ -890,7 +955,7 @@ g:ale_echo_delay *g:ale_echo_delay*
|
||||
Default: `10`
|
||||
|
||||
Given any integer, this option controls the number of milliseconds before
|
||||
ALE will echo a message for a problem near the cursor.
|
||||
ALE will echo or preview a message for a problem near the cursor.
|
||||
|
||||
The value can be increased to decrease the amount of processing ALE will do
|
||||
for files displaying a large number of problems.
|
||||
|
Reference in New Issue
Block a user