I want to set up python linting in Vim using the ALE Vim-package. So far it works well in Atom using the Atom-Plugin, but in Vim it somehow is not working. I installed
- pylint using pip3,
- Vim 8.1 and
- ALE using the Vundle Plugin-Manager.
In my .vimrc I set the
let g:ale_linters={
'python': ['pylint'],
.....+other languages....
}
option. Additionally I read the ALE docs and also tried setting the following:
let g:ale_python_executable='python3'
let g:ale_python_pylint_use_global=1
ALE gets installed correctly and works for Javascript, but for Python, there is just nothing happening. In case of incorrect code (missing ")") like:
print("Hi"
nothing is marked as error.
It would be great if someone knows how to set this up and can provide some help! Thanks.