Force ALE to use pylint3 for pylint executable

This sucks. My work laptop is forced on an old version of Ubuntu that
differentiates pylint and pylint3 while my desktop is a recent vintage
that defaults pylint to the Python 3 pylint. It's a mess.

My fix for now is to force ALE to call pylint3 and create a symlink on
systems it fails on.
This commit is contained in:
Trysdyn Black 2020-05-06 17:46:06 -07:00
parent b1f85c6ae2
commit 223f3c3b87

5
.vimrc
View file

@ -20,6 +20,11 @@ Plugin 'noahfrederick/vim-hemisu'
call vundle#end()
filetype plugin indent on
" Force the right pylint for ALE
" Creating a pylint3 => pylint symlink is necessary until my work laptop gets
" a distro that defaults stock pylint to Python 3
let g:ale_pylint_executable = "pylint3"
" Visual themeing
set termguicolors "Enable 256 colors
set scrolloff=5 "Always display 5 lines below cursor when scrolling