On 4/16/20 4:00 PM, Alexander Monakov wrote:
On Thu, 16 Apr 2020, Martin Liška wrote:
On 4/16/20 9:57 AM, Richard Biener wrote:
Ah, tab vs. spaces. Changed to all spaces now and pushed.
Ah, I've also hit the issue. That's caused by our local vimrc.
We should exclude tab options for .py files.
I think your patch is correct. It's possible to also add an
'else' branch with correct settings for Python (expandtab,
sw=sts=4, ts=8). Have you considered that?
To be honest I have:
autocmd Filetype python setlocal expandtab tabstop=4 shiftwidth=4 softtabstop=4
in my default vim config.
But I'm wondering what's default for 'python' Filetype?
Thanks,
Martin
Thanks.
Alexander