diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-11-12 22:33:45 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-11-12 22:33:45 +0100 |
commit | 4eb7dae255abc271cf313d4c75839577f1424183 (patch) | |
tree | 55738e6838d3de39c91541c21687990c8af5b113 /src/option.c | |
parent | cbee635eee3007db97646ddb9f211a1d4966eb2a (diff) | |
download | vim-git-4eb7dae255abc271cf313d4c75839577f1424183.tar.gz |
patch 8.1.2295: if buffer of popup is in another window cursorline sign showsv8.1.2295
Problem: If buffer of popup is in another window cursorline sign shows.
Solution: Check the group of the sign.
Diffstat (limited to 'src/option.c')
-rw-r--r-- | src/option.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/option.c b/src/option.c index 313882148..c54fc8268 100644 --- a/src/option.c +++ b/src/option.c @@ -7293,31 +7293,6 @@ get_showbreak_value(win_T *win) } #endif -#if defined(FEAT_SIGNS) || defined(PROTO) -/* - * Return TRUE when window "wp" has a column to draw signs in. - */ - int -signcolumn_on(win_T *wp) -{ - // If 'signcolumn' is set to 'number', signs are displayed in the 'number' - // column (if present). Otherwise signs are to be displayed in the sign - // column. - if (*wp->w_p_scl == 'n' && *(wp->w_p_scl + 1) == 'u') - return wp->w_buffer->b_signlist != NULL && !wp->w_p_nu && !wp->w_p_rnu; - - if (*wp->w_p_scl == 'n') - return FALSE; - if (*wp->w_p_scl == 'y') - return TRUE; - return (wp->w_buffer->b_signlist != NULL -# ifdef FEAT_NETBEANS_INTG - || wp->w_buffer->b_has_sign_column -# endif - ); -} -#endif - #if defined(FEAT_EVAL) || defined(PROTO) /* * Get window or buffer local options. |