Questions tagged [plugin-ale]

Question about plugin ALE which provides linting hints into Vim sign column.

See the project home page for more details on the features of the plugin.

67 questions
6
votes
0 answers

How do I disable specific warning/error messages using ALE?

I'm currently using ALE to lint my Python code. I'm just curious how to disable specific warning or error messages. I've checked the GitHub repository's FAQ but I only see an option for disabling linters entirely rather than selected messages (e.g.,…
Sean
  • 265
  • 1
  • 9
6
votes
1 answer

Is it possible to disable the column on the left that is created by ALE?

I installed the ALE plugin, and I really like the highlighting, though the sign column shown in the far left of this image is distracting to me and seems unnecessary given that errors and warnings are highlighted anyway. I've checked out out the…
Ryan Fredez
  • 545
  • 1
  • 3
  • 10
3
votes
1 answer

my ALE linter is not working for python - shows only style errors

I have an ALE configuration for both shell & python. The shell lint seems to work, but the python only style issues, e.g. for this dummy file: import ..foo # bad import …
CIsForCookies
  • 283
  • 2
  • 9
3
votes
1 answer

How can I set up ALE to be opt-in?

I'm trying to use ALE for auto-formatting for one specific language, however it has everything turned on for all languages by default and I can't figure out how to configure it so that it's disabled for everything except what I explicitly tell it…
Mason
  • 521
  • 4
  • 15
3
votes
1 answer

Use flake8 for Cython with w0rp/ale

I'm using flake8 to check my code with ale plugin. I found a way to make it work with Python 3, but it seems it does not recognize Cython file (.pyx) even if we set as follows. let g:ale_linters = { \ 'cython': ['flake8'] \} I also tried let…
user2978524
  • 131
  • 1
2
votes
1 answer

Switch pyflakes linter from python2 to python3 in ALE

pyflakes (with ALE) automatically defaults to python2 instead of python3 and gives me false errors and there are no variables in ALE documentation letting me change python versions. Thanks for any help in advance. P.S I just switched to MyPy linter,…
2
votes
2 answers

ALE Linter is available but not enabled

On a .python file, I see the following for :ALEInfo :ALEInfo Current Filetype: python Available Linters: ['flake8', 'mypy', 'prospector', 'pycodestyle', 'pydocstyle', 'pyflakes', 'pylint', 'pyls', 'pyre', 'vulture'] Enabled Linters: ['flake8',…
Tri Nguyen
  • 233
  • 2
  • 11
2
votes
1 answer

Is there a way to specify a default eslint configuration file when using ALE plugin of Vim?

I'm using ALE for linting my programming code, and I have following configuration part to specify lint tool for JavaScript. let g:ale_linters = { \ 'javascript': ['eslint'], \} let g:ale_fixers = { \ 'javascript': ['eslint'], \} It works…
kenshinji
  • 165
  • 1
  • 6
1
vote
1 answer

ALE remove permanent echo on problem line

Information VIM version VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Mar 16 2023 00:00:00) Included patches: 1-1407 Operating System: Linux (Fedora 38,Gnome) What went wrong From the last update of ALE (through vim-plug) I am getting a permanent…
BaRud
  • 481
  • 2
  • 10
1
vote
1 answer

How to configure ALE to enable autoformatting with elm-format?

I'm trying to enable autoformatting of Elm code (I guess the problem would be the same for any language). In Elm the elm-format program can normally used to format the code. I see that there's an option in ALE to set the path of elm-format so I…
1
vote
1 answer

ale_floating_preview not working

ale does not popup anything automatically. Neovim 0.5.0, windows 10. I wonder whether I configured ale correctly, since nothing related shown in ALEInfo. in init.vim, mouse=a let g:ale_open_list = 0 "let g:ale_hover_cursor = 1 " default=1, to show…
A117
  • 111
  • 4
1
vote
1 answer

ALE fails to lint or autofix, (executable check - failure)

i have ALE installed with vundle, but none of the linters seem to be executing, neither automatically nor on demand. vim starts with an error from my .vimrc: E121: Undefined variable: g:ale_lint_on_insert_leave and when executing :ALEFix No fixers…
ludant
  • 33
  • 4
1
vote
0 answers

ALE - how to configure warnings to appear in the command line?

I'm trying to workout whether this is an issue with my ALE configuration, or it's some kind of bug with the linter. Basically I'm using tsserver and prettier for Typescript with ALE. Both error and warning signs are appearing as expected in the…
asgeo1
  • 111
  • 3
1
vote
0 answers

vim w0rp/ale plugin stops working out of the blue

Long time reader, first time poster. I'm having an issue with ALE (asynchronous lint engine) -- be aware that I'm a second year student and relatively new to programming. I really like this plugin. It is by far my most used vim plugin and it makes…
0
votes
0 answers

ALE lints but does not fix

I have ALE configured to lint and fix Ruby and Javascript files. Linting works as expected - the tools are found and I get info in the location list, etc. about changes to be made. However, fixing the files using the same linters does not work. I…
1
2