-
-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow toggling numeric configs #4336
base: main
Are you sure you want to change the base?
Conversation
265e274
to
462c7ca
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏼 I like it. toggle
also works for me.
I just stumbled upon the no
/inv
prefix error message. Maybe you can shed some light on it?
This allows the `toggle` command to work with numeric configs, by switching their value from whatever they are to 0 and back. This can be useful for temporarily turning "off" features like `pager_index_lines` or `wrap`. Fixes #4333
|
Thanks @roccoblues . Let's wait and see what @flatcap thinks. If I recall correctly, we have discussed |
This allows the
toggle
command to work with numeric configs, by switching their value from whatever they are to 0 and back.This can be useful for temporarily turning "off" features like
pager_index_lines
orwrap
.Fixes #4333