Open
Description
- Create a file owned by root:
sudo touch foo.txt
- Open an another terminal (to end the sudo's session)
- Open
vim
:Suda foo.txt
- Edit something.
:w
- Input an incorrect password.
- Error occurs without retry.
Password: ***Error detected while processing BufWriteCmd Autocommands for "suda://*"..function suda#BufWriteCmd[14]..BufWriteCmd Autocommands for "suda://*"..function suda#BufWriteCmd[3]..suda#write:
line 33:
E605: Exception not caught: Sorry, try again.^@Sorry, try again.^@^@sudo: no password was provided^@sudo: 2 incorrect password attempts^@
At this time, suda.vim inputs incorrect password severary. (See the error message.)