mirror of
https://github.com/neovim/neovim.git
synced 2026-08-28 10:01:49 +00:00
Merge pull request #27813 from luukvbaal/msgid
feat(ext_messages): add hl_id to ext_messages chunks
This commit is contained in:
@@ -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*
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user