aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/screen.c
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2021-04-05 11:16:44 +0100
committerGitHub <noreply@github.com>2021-04-05 06:16:44 -0400
commit9fbeaf7771db1855414099c75b75793be8776032 (patch)
tree3553aaaf9ce37dd63ba6cc0fff25c82706ff86ff /src/nvim/screen.c
parent9b2d4ff625c59961288dfb2708cc94516667b2ad (diff)
downloadrneovim-9fbeaf7771db1855414099c75b75793be8776032.tar.gz
rneovim-9fbeaf7771db1855414099c75b75793be8776032.tar.bz2
rneovim-9fbeaf7771db1855414099c75b75793be8776032.zip
vim-patch:8.1.2205: sign entry structure has confusing name (#14289)
Problem: Sign entry structure has confusing name. Solution: Rename signlist_T to sign_entry_T and prefix se_ to the fields.
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r--src/nvim/screen.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c
index 24bef27ca1..9fb2eb2772 100644
--- a/src/nvim/screen.c
+++ b/src/nvim/screen.c
@@ -2384,7 +2384,7 @@ static int win_line(win_T *wp, linenr_T lnum, int startrow, int endrow,
// TODO(bfredl, vigoux): this should not take priority over decoration!
sign_attrs_T * sattr = sign_get_attr(SIGN_LINEHL, sattrs, 0, 1);
if (sattr != NULL) {
- line_attr = sattr->linehl;
+ line_attr = sattr->sat_linehl;
}
// Highlight the current line in the quickfix window.
@@ -2776,7 +2776,7 @@ static int win_line(win_T *wp, linenr_T lnum, int startrow, int endrow,
sign_attrs_T *num_sattr = sign_get_attr(SIGN_NUMHL, sattrs, 0, 1);
if (num_sattr != NULL) {
// :sign defined with "numhl" highlight.
- char_attr = num_sattr->numhl;
+ char_attr = num_sattr->sat_numhl;
} else if ((wp->w_p_cul || wp->w_p_rnu)
&& lnum == wp->w_cursor.lnum
&& filler_todo == 0) {
@@ -4485,7 +4485,7 @@ static void get_sign_display_info(
if (row == startrow + filler_lines && filler_todo <= 0) {
sign_attrs_T *sattr = sign_get_attr(SIGN_TEXT, sattrs, *sign_idxp, count);
if (sattr != NULL) {
- *pp_extra = sattr->text;
+ *pp_extra = sattr->sat_text;
if (*pp_extra != NULL) {
*c_extrap = NUL;
*c_finalp = NUL;
@@ -4518,7 +4518,7 @@ static void get_sign_display_info(
(*pp_extra)[*n_extrap] = NUL;
}
}
- *char_attrp = sattr->texthl;
+ *char_attrp = sattr->sat_texthl;
}
}