Smooth recovery from invalid configs #12342
Unanswered
NikitaRevenco
asked this question in
Ideas
Replies: 1 comment 3 replies
-
This is probably not a straightforward change to make because validations like checking command names are done at parsing time. This is something that could be resolved in the future as we switch config to drop serde and use scheme: #8853 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If you have an invalid config key, your entire config will be disabled
But this can be really annoying for people who have custom PRs merged into their personal forks. I currently have #11285 merged and have the following config set:
But since this is only valid in that PR and not on master, everytime I try to use a different branch that doesn't have my config my entire setup stops working:
So what I usually do is comment out that part of config every time. Since I have quite a lot of branches for Helix, and test various things out time to time, this ends up being a common procedure
Imo, it would be better for user experience if you still got the
Bad config
warning and forced to press enter, but at least your other settings should continue to work.Beta Was this translation helpful? Give feedback.
All reactions