Merge pull request #27813 from luukvbaal/msgid

feat(ext_messages): add hl_id to ext_messages chunks
This commit is contained in:
bfredl
2024-11-11 12:26:35 +01:00
committed by GitHub
51 changed files with 553 additions and 554 deletions

View File

@@ -283,6 +283,8 @@ UI
|hl-PmenuMatchSel| inherits highlights from both |hl-PmenuSel| and
|hl-PmenuMatch|.
• |ui-messages| content chunks now also contain the highlight group ID.
==============================================================================
CHANGED FEATURES *news-changed*

View File

@@ -805,10 +805,11 @@ must handle.
kinds as the empty kind.
content
Array of `[attr_id, text_chunk]` tuples, building up the message
text of chunks of different highlights. No extra spacing should be
added between chunks, the `text_chunk` by itself contains any
necessary whitespace. Messages can contain line breaks "\n".
Array of `[attr_id, text_chunk, hl_id]` tuples, building up the
message text of chunks of different highlights. No extra spacing
should be added between chunks, the `text_chunk` by itself
contains any necessary whitespace. Messages can contain line
breaks "\n".
replace_last
Decides how multiple messages should be displayed: