Re: [PATCH] Do not modify tab options in vimrc for .py files.

2020-04-16 Thread Martin Liška
On 4/16/20 4:16 PM, Alexander Monakov wrote: On Thu, 16 Apr 2020, Martin Liška wrote: 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? Since October 2013 Vim

Re: [PATCH] Do not modify tab options in vimrc for .py files.

2020-04-16 Thread Alexander Monakov via Gcc-patches
On Thu, 16 Apr 2020, Martin Liška wrote: > 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? Since October 2013 Vim ftplugin/python.vim has: " As sugges

Re: [PATCH] Do not modify tab options in vimrc for .py files.

2020-04-16 Thread Martin Liška
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 fi

Re: [PATCH] Do not modify tab options in vimrc for .py files.

2020-04-16 Thread Alexander Monakov via Gcc-patches
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.

[PATCH] Do not modify tab options in vimrc for .py files.

2020-04-16 Thread Martin Liška
a9848a15b Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Thu, 16 Apr 2020 15:17:51 +0200 Subject: [PATCH] Do not modify tab options in vimrc for .py files. contrib/ChangeLog: 2020-04-16 Martin Liska * vimrc: We do not want to modify tab options for Python files. --- contr