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/proto/sign.pro | |
parent | cbee635eee3007db97646ddb9f211a1d4966eb2a (diff) |
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/proto/sign.pro')
-rw-r--r-- | src/proto/sign.pro | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/proto/sign.pro b/src/proto/sign.pro index 7362cc06d5..bda8372a24 100644 --- a/src/proto/sign.pro +++ b/src/proto/sign.pro @@ -1,6 +1,6 @@ /* sign.c */ void init_signs(void); -int buf_get_signattrs(buf_T *buf, linenr_T lnum, sign_attrs_T *sattr); +int buf_get_signattrs(win_T *wp, linenr_T lnum, sign_attrs_T *sattr); linenr_T buf_delsign(buf_T *buf, linenr_T atlnum, int id, char_u *group); int buf_findsign(buf_T *buf, int id, char_u *group); int buf_findsign_id(buf_T *buf, linenr_T lnum, char_u *groupname); @@ -26,6 +26,8 @@ void f_sign_jump(typval_T *argvars, typval_T *rettv); void f_sign_place(typval_T *argvars, typval_T *rettv); void f_sign_placelist(typval_T *argvars, typval_T *rettv); void f_sign_undefine(typval_T *argvars, typval_T *rettv); +sign_entry_T *get_first_valid_sign(win_T *wp); +int signcolumn_on(win_T *wp); void f_sign_unplace(typval_T *argvars, typval_T *rettv); void f_sign_unplacelist(typval_T *argvars, typval_T *rettv); /* vim: set ft=c : */ |