Skip to content

ALE v1.2.0

Compare
Choose a tag to compare
@w0rp w0rp released this 26 Mar 21:40
· 3859 commits to master since this release

Bugs Fixed

  • Signs will now be unplaced for Italian users.
  • Fixed a bug where loclist items could be set for the wrong buffers.

New Features

  • A command :ALEToggle has been added for turning ALE on or off temporarily.
  • A command :ALELint has been added for running ALE manually.
  • A command :ALEDetail has been added for showing more details for an error at the cursor.
  • Linters can now use a read_buffer option for enabling/disabling stdin input.
  • Linters can now use a lint_file option for running checks against files, instead of Vim buffers.
  • ALE now highlights errors in the buffer. See :help g:ale_set_highlights
  • The :ALEInfo command now outputs linter variables.
  • The :ALEInfo command now outputs a command history. See :help g:ale_history_enabled
  • ALE will no longer complain if it can't work for empty filetypes or git commits.
  • If ALE fails to load properly, it should now still emit airline statusline messages.

New Linters

  • AsciiDoc - proselint
  • C++ - clang
  • CMake - cmakelint
  • Haml - hamllint
  • Haskell - hdevtools
  • HTML - proselint
  • Java - javac
  • JavaScript - standard, xo
  • nim - nim
  • nix - nix-instantiate
  • nroff - proselint
  • PHP - phpmd
  • Pod - proselint
  • reStructuredText - proselint
  • Slim - slim-lint
  • SML - smlnj
  • Texinfo - proselint
  • Vim help - proselint
  • XHTML - proselint

Linter Enhancements

  • The coffee and coffeelint linters now attempt to use the versions of those executables from node_modules, if available.
  • The coffelint linter will now parse more errors.
  • The credo linter now includes the filename of the file being checked, which can be useful for various checks.
  • The flow linter will not now no longer run if no .flowconfig file exists in an ancestor directory.
  • You can now configure options for the stylelint linter.
  • The gfortran linter now supports more kinds of error output.
  • The yamllint linter can be now be configured with an executable path and options.
  • The pylint linter now includes the symbol (a short name) for error types.
  • PHP error parsing has been improved, so more errors are handled.
  • The eslint linter will now report problems with the configuration file, using :ALEDetail.
  • The perl linter now supports options. See :help ale-linter-options-perl-perl.
  • The clang and gcc linters now support header includes in the same directories files are in.
  • The erlc linter will no longer leave compiled files lying around.
  • The tslint linter will now find configuration files, and allow the executable and configuration file to be configured.

Misc Changes

  • $TMPDIR will now automatically be set to /tmp on Unix if it is not set.
  • ALE will now only run the cargo linter for Rust by default. To run other linters, modify g:ale_linters appropriately. See :help ale-integration-rust.
  • ALE will now echo the cursor error messages when linting finishes or when leaving insert mode.