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 suggested by PEP8.
setlocal expandtab shiftwidth=4 softtabstop=4 tabstop=8

So the default is correct. Please disregard my suggestion then,
no need to add an 'else' branch there.

Thanks.
Alexander

Reply via email to