You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Subsequent show x: set y rules do not override previous ones #351
I would expect this behavior but I would not expect the show-set rules to act like this. I also feel like there ought to be a way to override any subsequent show or set rules so that we can force certain stylings. For instance, the current behavior makes it impossible to build off of someone else's template without modifying the code itself if they use show rules.
Reacted by Arthur Araruna, Zaitara, Daniel Gomme, Hugo Cartigny, Aaron Yeoh Cruz, Sébastien d'Herbais de Thun, Complex2-老爹, Nicolai Weitkemper, Michał Moczulski and July
changed the title [-]Subsequent `show` rules do not override previous ones[/-][+]Subsequent `show x: set y` rules do not override previous ones[/+]on Mar 27, 2023
I don't think so, but a hacky way can potentially always exist (meaning that sometime you can't make your way around the limitations even if you try very hard). Everyone is waiting for the v0.11.0 which should go public somewhere in the February 2024. After it a lot of limitations should disappear or they can be fixed very easily (after v0.11.0).
Activity
[-]Subsequent `show` rules do not override previous ones[/-][+]Subsequent `show x: set y` rules do not override previous ones[/+]laurmaedje commentedon Mar 27, 2023
Yeah, that's a somewhat hard-to-fix bug, that I will try to tackle soon.
Complex2-Liu commentedon Oct 15, 2023
Could someone please explain the difference between the "normal"
show x: set yrule and the "expanded" formlaurmaedje commentedon Oct 15, 2023
It's pretty much equivalent, which is precisely the problem here.
Phantop commentedon Dec 30, 2023
Is there any workaround to this besides having to scope things such that the first rule's scope ends before the second?
Andrew15-5 commentedon Dec 30, 2023
I don't think so, but a hacky way can potentially always exist (meaning that sometime you can't make your way around the limitations even if you try very hard). Everyone is waiting for the v0.11.0 which should go public somewhere in the February 2024. After it a lot of limitations should disappear or they can be fixed very easily (after v0.11.0).