Replies: 2 comments 2 replies
-
This sounds complicated to me personally. Is it that important that if the defaults are updated that you get them transparently? I can't imagine this will happen very often. Also the flip side to this approach is that it's hard to piece together what all the pairs are, where with how it is now, what you see is what you get. |
Beta Was this translation helpful? Give feedback.
-
It could be nice to have some config like this changeable without specifying the orginal value in full. But I don't think we should approach it until we use a different config language than TOML. Something with scripting support that could take the previous value as an argument and explicitly add or subtract elements would be preferrable. Building something like that in a TOML DSL is not worth the complexity that it adds IMO. |
Beta Was this translation helpful? Give feedback.
-
I want to disable the
'`'
auto-pair in my config but as far as I can tell, the only way to do that is to copy all the default auto-pairs into my config and remove the line for'`'
like this:I don't like this because it's impossible to know what this config section is actually doing without a comment, and if any new pairs are added to the default config I won't get them unless I keep track of the changelog and update my config.
Instead, I think it would be better to have new pairs in the user's config be added to the default list rather than overwriting it, and there should be some syntax (e.g.
'`' = false
) to remove a pair.Beta Was this translation helpful? Give feedback.
All reactions