mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 15:58:17 +00:00
feat(ui): add 'statuscolumn' option
Problem: Unable to customize the column next to a window ('gutter'). Solution: Add 'statuscolumn' option that follows the 'statusline' syntax, allowing to customize the status column. Also supporting the %@ click execute function label. Adds new items @C and @s which will print the fold and sign columns. Line numbers and signs can be clicked, highlighted, aligned, transformed, margined etc.
This commit is contained in:
@@ -3236,7 +3236,7 @@ void maketitle(void)
|
||||
if (*p_titlestring != NUL) {
|
||||
if (stl_syntax & STL_IN_TITLE) {
|
||||
build_stl_str_hl(curwin, buf, sizeof(buf), p_titlestring,
|
||||
"titlestring", 0, 0, maxlen, NULL, NULL);
|
||||
"titlestring", 0, 0, maxlen, NULL, NULL, NULL);
|
||||
title_str = buf;
|
||||
} else {
|
||||
title_str = p_titlestring;
|
||||
@@ -3342,7 +3342,7 @@ void maketitle(void)
|
||||
if (*p_iconstring != NUL) {
|
||||
if (stl_syntax & STL_IN_ICON) {
|
||||
build_stl_str_hl(curwin, icon_str, sizeof(buf), p_iconstring,
|
||||
"iconstring", 0, 0, 0, NULL, NULL);
|
||||
"iconstring", 0, 0, 0, NULL, NULL, NULL);
|
||||
} else {
|
||||
icon_str = p_iconstring;
|
||||
}
|
||||
|
Reference in New Issue
Block a user