Ale: Error after updating ALE.

Created on 29 Oct 2018  路  4Comments  路  Source: dense-analysis/ale

Information

VIM version

Neovim - 0.3.1

Operating System: Mac OSX Mojave

What went wrong

Moving around inside files after editing to the latest version of ALE

Reproducing the bug

  1. Moving cursor around the editor.
  2. I get this error.
Error detected while processing CursorHold Auto commands for "*":
E117: Unknown function: ale#Lint

:ALEInfo

Current Filetype: elixir
Available Linters: ['credo', 'dialyxir', 'dogma', 'elixir-ls', 'mix']
Enabled Linters: ['credo', 'dialyxir', 'dogma', 'elixir-ls', 'mix']
Suggested Fixers:
'mix_format' - Apply mix format to a file.
'remove_trailing_lines'
clipboard: error: -2 - Remove all blank lines at the end of a file.
'trim_whitespace' - Remove all trailing whitespace characters at the end of every line.
Linter Variables:

Global Variables:

let g:ale_cache_executable_check_failures

Most helpful comment

I'm using thoughtbot's dot files and they had some configuration in the vimrc that was calling ale#Lint directly. So I fixed it and submitted a PR.

https://github.com/thoughtbot/dotfiles/pull/615

basically, you need to replace ale#Lint with ale#Queue(0) and it should work.

All 4 comments

Figured out where the issue is, and working on fixing it. Sorry for the false report.

I'm getting this too. Could you share the fix? Thanks!

I'm using thoughtbot's dot files and they had some configuration in the vimrc that was calling ale#Lint directly. So I fixed it and submitted a PR.

https://github.com/thoughtbot/dotfiles/pull/615

basically, you need to replace ale#Lint with ale#Queue(0) and it should work.

Looks like someone called a function which isn't part of the public API. ale#Queue(0) is supported and documented, and they can use that.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

janhellmich picture janhellmich  路  3Comments

trevordmiller picture trevordmiller  路  3Comments

plexigras picture plexigras  路  3Comments

ilyakopy picture ilyakopy  路  4Comments

amerov picture amerov  路  4Comments