Files
neovim/runtime/doc
Riccardo Mazzarini cb8c9186e6 feat(highlight): support more SGR attributes #37901
Problem:
TUI does not support several standard SGR text attributes:
- dim/faint (SGR 2)
- blink (SGR 5)
- conceal (SGR 8)
- overline (SGR 53)
This means that when a program running in the embedded terminal emits
one of these escape codes, we drop it and don't surface it to the
outer terminal.

Solution:
- Add support for those attributes.
- Also add corresponding flags to `nvim_set_hl` opts, so users can set
  these attributes in highlight groups.
  - refactor(highlight): widen `HlAttrFlags` from `int16_t` to `int32_t`
    Widen the `rgb_ae_attr` and `cterm_ae_attr` fields in HlAttrs from
    int16_t to int32_t to make room for new highlight attribute flags,
    since there was only one spare bit left.
  - The C flag is named HL_CONCEALED to avoid colliding with the
    existing HL_CONCEAL in syntax.h (which is a syntax group flag, not
    an SGR attribute).
- Also note that libvterm doesn't currently support the dim and overline
  attributes, so e.g. `printf '\e[2mThis should be dim\n'` and `printf
  '\e[53mThis should have an overline\n'` are still not rendered
  correctly when run from the embedded terminal.
2026-02-20 18:35:55 -05:00
..
2026-02-12 13:46:45 +01:00
2026-02-12 13:46:45 +01:00
2026-02-12 13:46:45 +01:00
2024-05-15 23:19:26 +02:00
2026-02-12 13:46:45 +01:00
2025-12-06 20:33:02 -05:00
2025-12-06 20:33:02 -05:00
2025-12-06 20:33:02 -05:00
2023-06-25 17:14:28 +02:00
2025-12-06 20:33:02 -05:00
2026-01-27 17:14:57 -05:00
2025-12-16 13:46:04 -05:00
2026-01-12 03:50:57 +00:00
2026-02-12 13:46:45 +01:00
2025-12-15 13:55:15 -05:00
2026-02-12 13:46:45 +01:00
2025-12-15 13:55:15 -05:00
2026-01-23 09:30:37 +01:00
2026-02-12 13:46:45 +01:00
2025-12-15 13:55:15 -05:00
2025-09-28 20:57:59 -07:00
2025-12-15 13:55:15 -05:00
2025-12-15 13:55:15 -05:00
2025-12-06 20:33:02 -05:00
2025-12-15 13:55:15 -05:00
2026-01-27 17:14:57 -05:00
2026-01-07 08:11:42 +08:00
2025-12-06 20:33:02 -05:00
2025-12-06 20:33:02 -05:00
2025-12-15 13:55:15 -05:00
2025-12-16 12:55:32 +08:00