# `Lumis.Decoration.DiffWord`
[🔗](https://github.com/leandrocp/lumis/blob/hex-lumis/v0.10.4/packages/elixir/lumis/lib/lumis/decoration.ex#L16)

Text that changed between a diff's removed lines and the added lines that
replace them.

Emitted only when a `diff` document is highlighted with `word_diff: true`.
`:removed` marks text only the removed lines have, `:added` text only the
added lines have. Built-in formatters give it a stronger shade of the theme's
`diff.minus` or `diff.plus` background.

# `kind`

```elixir
@type kind() :: :removed | :added
```

# `t`

```elixir
@type t() :: %Lumis.Decoration.DiffWord{kind: kind()}
```

---

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