Am 25.11.2010 15:06, schrieb Jean-Rene David:
* Wolfgang Schmidt [2010.11.25 05:50]:
This is the same traceback that I get if I call pylint from the
commandline (omitting the backslashes).
Ah, well there you go: it's pylint that doesn't like the arguments you
give it.

In the commandline I can fix
this behaviour by wrapping the pylintrc path into double quotes as
follows:

c:\sdk\win32\1.1\Python26\Scripts/pylint.bat --rcfile="C:\Program
Files\ (x86)\vim\pylintrc" etc.

But how can I pass this through Vim? Do I have to mask the double quotes?
You can pass this through vim by escaping the double quotes. Perhaps
this is what you mean by "mask the double quotes". Try this:

setlocal makeprg=c:\sdk\win32\1.1\Python26\Scripts/pylint.bat\
--rcfile=\"C:\Program\ Files\ (x86)\vim\pylintrc\"\
--output-format=parseable\ --reports=n\ %

HTH,

 Hi Jean-Rene,

thank you very much for your help, now it works fine.

Cheers.

   Wolfgang

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to