Open thornoar opened 2 months ago
Sorry for the slow response! It looks like the show statement ends early at the first colon. I am fairly certain about why that happens, though I need to think a bit how to resolve that in a good way. Thank you for reporting this!
Consider the following show-set rule:
Here, the text becomes white after the second colon. In fact, it seems that the problem is the symbols between the first colon and the
set
keyword. If these symbols exist, the highlighting is lost. However, such show-set rules start being correctly highlighted if the unnamed function notation (=>
) is used, like that:Unfortunately, this does not seem to be a reliable workaround. In some cases, a show-set rule (like the first one) is necessary, for example when you need to modify the behavior of the very function you select for.