I'm trying to set up pylint to work with :make
command in Vim 8.2.
I've set :compiler pylint
but running :make
gives me pylint's help message, so some arguments seem to be passed incorrectly.
:set makeprg?
is
makeprg=pylint --output-format=text --msg-template="{path}:{line}:{column}:{C}: [{symbol}] {msg}" --reports=no
I've tried to run this command directly in the terminal (appending the filename) and it worked -- output was the list of errors, not help message.
Unfortunately, I don't see which exact command vim is trying to execute. Any hints on what I did wrong or how to debug it?
I'd like to stick to vim's default functionality as much as possible and not use any plugins for this.
:make
takes arguments; perhaps you need to run:make %
? For debugging, either see:help :debug
or:help 'verbose'