# `Minga.Core.Decorations.HighlightRange`
[🔗](https://github.com/jsmestad/minga/blob/main/lib/minga/core/decorations/highlight_range.ex#L1)

A highlight range decoration: custom visual styling on an arbitrary
buffer span without modifying the buffer text.

Composes with tree-sitter syntax highlighting. A range that sets `bg`
but not `fg` preserves the syntax foreground color. Multiple ranges
can overlap on the same character; higher-priority ranges win
per-property.

# `t`

```elixir
@type t() :: %Minga.Core.Decorations.HighlightRange{
  end_: Minga.Core.IntervalTree.position(),
  group: atom() | nil,
  id: reference(),
  priority: integer(),
  start: Minga.Core.IntervalTree.position(),
  style: Minga.Core.Face.t()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
