Skip to content

Remove plugin decoration rendering order config #759

@aminya

Description

@aminya

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions