From 433b342baa04b35fb1ab24d4ef38f126d12ea714 Mon Sep 17 00:00:00 2001 From: luukvbaal Date: Sat, 14 Dec 2024 19:21:50 +0100 Subject: feat(ui): sign/statuscolumn can combine highlight attrs #31575 Problem: Since e049c6e4c08a, most statusline-like UI elements can combine highlight attrs, except for sign/statuscolumn. Solution: Implement for sign/statuscolumn. --- runtime/doc/news.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'runtime') diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt index e7d4b92f7e..5e70d75cfd 100644 --- a/runtime/doc/news.txt +++ b/runtime/doc/news.txt @@ -307,7 +307,7 @@ UI which controls the tool used to open the given path or URL. If you want to globally set this, you can override vim.ui.open using the same approach described at |vim.paste()|. -- `vim.ui.open()` now supports +• `vim.ui.open()` now supports [lemonade](https://github.com/lemonade-command/lemonade) as an option for opening urls/files. This is handy if you are in an ssh connection and use `lemonade`. @@ -317,7 +317,6 @@ UI |hl-PmenuMatch|. • |vim.diagnostic.setqflist()| updates an existing quickfix list with the given title if found - • |ui-messages| content chunks now also contain the highlight group ID. ============================================================================== @@ -339,9 +338,9 @@ These existing features changed their behavior. more emoji characters than before, including those encoded with multiple emoji codepoints combined with ZWJ (zero width joiner) codepoints. -• Text in the 'statusline', 'tabline', and 'winbar' now inherits highlights - from the respective |hl-StatusLine|, |hl-TabLine|, and |hl-WinBar| highlight - groups. +• Custom highlights in 'rulerformat', 'statuscolumn', 'statusline', 'tabline', + 'winbar' and the number column (through |:sign-define| `numhl`) now combine + with their respective highlight groups, as opposed to |hl-Normal|. • |vim.on_key()| callbacks won't be invoked recursively when a callback itself consumes input. -- cgit