-
Notifications
You must be signed in to change notification settings - Fork 128
Open
Labels
Description
There is unnecessary complexity in the decoration management/rendering code to render the decorations based on an order. However, this seems unnecessary to me as decorations can perfectly be shown on top of each other and they do not have conflicts. The default for all of them is 0 which means until today by default no ordering has been applied. But the code is still there slowing down the rendering.
This config does not make sense to me and just adds complexity and slow-down.
Instead, I am considering drawing the decorations in this order instead of calculating the order dynamically every time. Rendering in this order does not result in any conflict.
- line
- highlight-under
- highlight-over
- highlight-outline
- gutter
- background-custom
- foreground-custom