Skip to content

ALE v2.3.0

Compare
Choose a tag to compare
@w0rp w0rp released this 02 Dec 18:25
· 1743 commits to master since this release
1d4f985

Bugs Fixed

  • ALE no longer fixes files with ale_fix_on_save and :wq, due to problems with writing to a buffer after it has been quit. #1960
  • The C Makefile parser handles more output correctly. #1907
  • 'vcol': 1 is now used for flake8, so Unicode characters can be highlighted correctly. #2096
  • ALE no longer floods the native clipboard program when using :ALEInfoToClipboard. #2110

New Features

  • ALE now supports LSP symbol search via the :ALESymbolSearch command. See :help ale-symbol-search.
  • LSP linters can now be configured to send configuration changes via workspace/didChangeConfiguration. #1852 #2035
  • b:ale_linter_aliases can now be set to a String. #927
  • Sources for diagnostics from language servers are now displayed in detailed messages for :ALEDetail. #1734
  • ALE now supports displaying results from other sources. See :help ale-lint-other-sources. #2017
  • ALE now displays virtualtext in the latest NeoVim versions when g:ale_virtualtext_cursor is set to 1.

Other Changes

  • prettier is now suggested as a fixer for HTML files. #2060
  • The mix linter is now disabled by default, as it can consume far too much CPU power to run. #2084

New Linters

New Fixers

Linter Enhancements

  • Extra options can now be specified for hlint. #1908
  • Extra options can now be specified for stylelint. #1917
  • Just about every Haskell linter can now be run via stack by setting the _executable options to a path to stack. #1851
  • The credo linter now handles more message types. #1963
  • The executable is now configurable for ansible_lint. #1977
  • The ansible linter is now known as ansible_lint, and the ansible and ansible-lint aliases.
  • The initializationOptions can now be configured for the Ruby solargraph linter.
  • The cargo linter can now be configured to use clippy. #2001
  • The stack linters are now only run if a stack.yaml file exists. #1752
  • Secondary error spans can now be ignored for Rust linters. #1696
  • The rubocop linter now respects filters for excluding files from the configuration file. #1999
  • The clang-tidy linters now use the default checks by default, instead of all checks. Configuration files should now be respected by default. #2031
  • The filename being checked is now given to jshint via the --filename argument. #2040
  • The executable is now configurable for the php linter. #2044
  • The executable is now configurable for the hamllint linter. #2048
  • The elixir-ls linter now recognizes umbrella project roots. #2045
  • The golint executable and options are now configurable. #2054
  • The checkstyle linter now handles output from older versions. #2063
  • The scalac linter now stops compilation just before execution, so more problems can be found. #2083
  • The phpstan linter now supports newer versions of phpstan. #2005

Fixer Enhancements

  • Options are now configurable for the jq fixer. #1980
  • The rubocop fixer now respects filters for excluding files from the configuration file. #1580
  • The ocamlformat fixer now fixes buffers without writing to temporary files. #2053