Questions tagged [vim-ale]
14 questions
3
votes
1 answer
vim ALE is "ignoring" pyright
I'm having issues with setting up ale and pyright.
According to the documentation on both repos, everything should work out of the box, but that doesn't seem to be the case for me. I'm guessing it's another plugin causing issues, but I'm not…

Farzad
- 1,770
- 4
- 26
- 48
3
votes
1 answer
How to configure VIM Ale to use the Tidy linter for HTML?
I'm trying to configure the vim Ale plugin to use Tidy to lint HTML code.
I added to my .vimrc file:
let g:ale_linters = {
\ 'css': ['csslint'],
\ 'html': ['tidy'],
\ 'javascript': ['eslint'],
\ 'php': [''],
\ 'python': ['flake8'],
…

burke
- 89
- 2
- 2
- 10
3
votes
1 answer
Vim + ALE + eslintrc. in subdirectory
I use Vim for my react project. I started a project in a new startup, and in the project folder the eslintrc is in a subdirectory like this :
- Lint
---directory1
----directory2
-----eslintrc.js
So i use ALE for lint checking, but in this project…

user1310969
- 201
- 3
- 9
3
votes
1 answer
vim ALE error highlighting not changing
I am using a vim pluggin called ALE. But the error and warning highlighting does not go with my theme. So I am trying to change the colour or even switch it off, but nothing seems to work.
None of the following commands work when set in .vimrc
let…

Narayana
- 323
- 3
- 16
2
votes
1 answer
How to configure VIM ALE to use cookstyle linter
I am trying to configure VIM plugin ALE to use chef cookstyle linter for chef cookbooks projects. But ALE is not throwing any errors. On the documentation I found out ALE has options for chef-based cookstyle…

sumit pandit
- 963
- 7
- 9
2
votes
1 answer
How to run isort via ALE in Vim?
I want to set up isort to be used in Vim via the ALE plugin. I've added this shortcut to my .vimrc:
nnoremap I :ALEFix isort
However, when I activate it nothing happens. I have isort installed both globally and in the virtualenv. Could…

planetp
- 14,248
- 20
- 86
- 160
2
votes
2 answers
How do I make ale highlight using a virtual environment
I just started configuring Vim as an IDE, and the first file I launched into was one that happened to use a Virtual Environment.
In my .vimrc, I added ale as my lint engine, and coc as my autocomplete (intellisense) engine. So I entered, and saw…

ThePikachuIH
- 61
- 10
2
votes
1 answer
How could I let vim ale plugin use pylint configuration file
in my vimrc file, I add this line:
let g:ale_python_pylint_options = '--rcfile ~/.pylintrc'
And in my ~/.pylintrc file, I have this line:
msg-template={msg_id}: {msg}
However, with my vim ale plugin, the error message showed does not include the…

coin cheung
- 949
- 2
- 10
- 25
2
votes
2 answers
vim ale shortcut to add eslint-ignore hint
I've been using vim for years, but I've just started integrating eslint (through ALE). I've found that sometimes I want to be able to quickly add an /* eslint-ignore-next-line */. For example:
...
❌ if (m = /^-l(\d+)$/.exec(args[i])) t.len =…

David784
- 7,031
- 2
- 22
- 29
1
vote
0 answers
How to send errors from Neovim LSP to ALE
ALE has an API for sending errors to it from other sources. I'm using this like shown below and it works for the first error. More specifically, if I make one edit that results in an LSP error, the error will be displayed by ALE in the location…

Vey
- 435
- 5
- 15
0
votes
0 answers
ALE in Vim failing to find project root, language server doesn't start
I am trying to use ALE to check definitions and references in vim, but I am unable to do so.
Using the ccls linter and in the output of :ALEInfoit prints :
(Errors for ccls) …
0
votes
1 answer
How can I run a node app from the command line?
On RHEL I have put various executable files in ~/.local/bin eg. nvim.appimage. As ~/.local/bin is in my $PATH variable I can call nvim.appimage from any directory which is great.
I want some node apps to be able to be called from any directory, for…

user3425506
- 1,285
- 1
- 16
- 26
0
votes
0 answers
clang-tidy cannot find C standard library headers files like , , etc
I am using clang-tidy as a linter for ALE in Vim.
I am running on a Windows 10 machine.
Everything works as expected but every time there is some header file from the standard library like or I got a file not found error.
When…

Barzi2001
- 989
- 8
- 24
0
votes
1 answer
How to make ALE to work with mixed Windows/Cygwin and tricore-gcc?
EDITED: I am running on Windows 10, working with gvim but the overall project is built in Cygwin. The compiler that I am using is tricore-gcc. With lot of pain I managed to build a compile_commands.json file that apparently is working fine (if I use…

Barzi2001
- 989
- 8
- 24