This is not a bug, but the defined behavior of the 'paste' setting.
> When the 'paste' option is switched on (also when it was already on):
> - 'expandtab' is reset
** Changed in: vim (Ubuntu)
Status: Confirmed => Invalid
--
You received this bug notification because you are a me
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: vim (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to vim in Ubuntu.
https://bugs.launchpad.net/bugs/
You can test this without a .vimrc
:set expandtab
Leading tabs get converted to spaces.
:set all shows expantab.
:set paste
Leading tabs no longer get converted to tabs.
:set all shows "noexpandtab"
The converse is not true though, setting expandtab does not affect the
setting of paste. If yo
3 matches
Mail list logo