Mmm I gave it a shot myself but it actually sounds like a bug
I would suggest marking this as a bug here by changing the category.
The editor picks up the fact that | x |
is wrapping but fails to highlight…, funny enough if you use [| x |]
it only paints half of it.
Also again Nova should autoclose automatically but it does not…
One way you could maybe bypass, could be maybe using the tree-sitter [Autoclose] feature (Tree-sitter - Nova)
In terms of colour situation I managed to find a way to fix but these are all hacky and I wished Nova had a better support for brackets and so fort, considering weird combos are very common across all frameworks
The hack I did was using the tree-sitter highlighter, and grabbing the brackets, here is an example. But for it work you have to uncheck the rainbow bracket…