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 ftplugin/python.vim has:
" As suggested by PEP8.
setlocal expandtab shiftwidth=4 softtabstop=4 tabstop=8
Fine! That's what I expected.
So the default is correct. Please disregard my suggestion then,
no need to add an 'else' branch there.
Thank you for the searching of it.
Martin
Thanks.
Alexander