ALE v1.8.0
Deprecated Features
Support for NeoVim versions below 0.2.0 is deprecated in this version of ALE. Users using older versions of NeoVim will see a warning they can turn off when NeoVim starts. Support for NeoVim versions below 0.2.0 will be removed in ALE v2.0.0, to be released during Spring or Summer 2018. NeoVim 0.2.0 supports closures, which will make development of ALE easier.
The following functions will now emit deprecation warnings, and will be removed in ALE 0.2.0.
ale#statusline#Status()ALELint()ALEGetStatusLine()
Bugs Fixed
- tsserver now reports warnings with
'W'and suggestions with'I'. #1384 - The
tslintexectuable is now escaped. #416 - Forward slashes in temporary filenames could cause issue with errors being reported on Windows. This has been fixed. #1431
- Errors returned by
fish -nare now handled properly on Linux. #1373 - ALE will no longer show balloons when
g:ale_set_balloonsis set to0while Vim is running. #1404
New Features
- ALE now supports wrapping commands that are run. See
:help g:ale_command_wrapper. #1115 - ALE will now send
textDocument/didSaveto LSP servers when linting is done as the result of saving a file. #1288 - ALE now increments a variable
b:ale_lintedwhen buffers are checked, for use in other plugins. #1379 - LSP-like clients can now be stopped with
:ALEStopAllLSPs. - ALE now runs
ALEFixPreandALEFixPostevents when fixing files. - Balloons can now be disabled for a buffer by setting
b:ale_set_balloonsto0. #1404
Other Changes
- If you specify a fixer which is neither in the registry, nor a valid function name, ALE will now print a friendly message telling you your settings are wrong. #1336
New Linters
- Elixir -
dialyxir#1257 - Erb -
erubi#1157 - fish -
fish -n#1252 - Fountain -
proselint#1243 - Lua -
luac -p#1272 - Git commit messages -
gitlint#1233 - Go -
gotype#1099 - Markdown -
markdownlint#1394,textlint#1383 #1448 - PO -
alex#1321,msgfmt#1321,proselint#1321,write-good#1321 - Pony -
ponyc#1343 - QML -
qmllint#1419 - Text -
textlint#1448
New Fixers
- JSON -
fixjson#1284,jq#1303 - C -
flawfinder#1361 - C++ -
flawfinder#1361 - PHP -
php-cs-fixer#1390 - Ruby -
rufo#1415
Linter Enhancements
- The
gawklinter now prevents arbitrary execution of code by exiting early. #1411 - The options for
ghccan now be configured. #1260 - The HTML
tidylinter will now no longer run the outdated version oftidywhich comes with Mac OSX. Install a modern version via homebrew instead. #1262 htmlhintwill now automatically use the.htmlhintrcconfiguration file when checking for problems while you type. #1038- Syntax errors can now be ignored for
mypywithg:ale_python_mypy_ignore_invalid_syntax. - The Rust features code will be checked with can now be controlled for the
cargolinter. #1275 - Options for
protocare now configurable. #1268 - The
credoanddogmalinters now contain a work-around for an obscure hot-reloading issue. #1266 - Error messages will be read from
stderrfor newer versions of ESLint. #1246 - The
hadolintlinter now reports Dockerfile parse errors. #1308 - The
hadolintlinter now outputs hyperlinks with information about errors for:ALEDetail. #1308 - Some namespace issues for
lintrhave been solved. #1326 - Options can now be set for the
gobuildlinter. #1206 - The
gobuildlinter should now setGOPATHon Windows. #1206 - The
gobuildlinter should now escape the path forGOPATHand for changing the directory. #1206 - The
lintrlinter can now be set to lint packages. See:help g:ale_r_lintr_lint_package#1332 - F401 is now a warning and E112 is now a syntax error for pycodestyle and flake8. #476
- The
go vetlinter now only lints files and checks the entire package, which solves a number of problems, but removes the ability to use it to lint while you type. #1369 #1358 - The
staticchecklinter for Go can now be set to lint all files in a package, which can solve some problems with linting certain files. See:help g:ale_go_staticcheck_package - The
perllinter now reports warnings as warnings. #933 - The
perllinter now only shows the first problem among many problems one line. #933 - The markdown
mdllinter options are now configurable. #945 - Whether warnings are errors are displayed for flawfinder can now be controlled with
g:ale_c_flawfinder_error_severity. #1400 - The
gotypelinter will now only check files on disk, so it can work with vendored-only dependencies. #1392 - The
gotypeandgosimplelinters will now check whole packages, which seems like the only thing that will work properly. #1433 #936 - The
mixformat options are now configurable. #1410 - Errors for Japanese text with Redpen will now be highlighted better. #1416
- Problems with ranges will now be handled for the
remarklinter. #1207
Fixer Enhancements
- The
elm-formatfixer is now available as'elm-format', in addition to the old name of'format'. #1395