Closed aarondill closed 7 months ago
The update involves renaming the configuration variable g:suda#nopass
in Vim's suda plugin to g:suda#noninteractive
. This change aims to provide a more descriptive name reflecting its purpose—controlling password prompt behaviors. The default setting for this new variable is 0
, ensuring backward compatibility unless explicitly defined otherwise.
File | Change Summary |
---|---|
README.md , autoload/suda.vim , doc/suda.txt |
Updated configuration setting in Vim to replace g:suda#nopass with g:suda#noninteractive . Updated variable assignment logic in suda#system function. Set g:suda#noninteractive to default to 0 if not explicitly defined. |
Objective | Addressed | Explanation |
---|---|---|
Rename undescriptive name g:suda#nopass to a more descriptive name [#73] |
✅ |
In the land of code and vim,
A rabbit hopped, its chances slim.
With a leap and a bound, it renamed a var,
Fromnopass
tononinteractive
, near and far.
🐇💻 Now, no more confusion, only clarity,
In the maze of code, a small rarity.
fixes #73. Maintains a fallback to suda#nopass for backwards compatability.
Summary by CodeRabbit
New Features
suda
plugin. The settingg:suda#noninteractive
now replacesg:suda#nopass
and defaults to0
if not explicitly defined.Documentation