Mercurial > vim
comparison src/proto/sign.pro @ 18603:f249b44039e0 v8.1.2295
patch 8.1.2295: if buffer of popup is in another window cursorline sign shows
Commit: https://github.com/vim/vim/commit/4eb7dae255abc271cf313d4c75839577f1424183
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Nov 12 22:33:45 2019 +0100
patch 8.1.2295: if buffer of popup is in another window cursorline sign shows
Problem: If buffer of popup is in another window cursorline sign shows.
Solution: Check the group of the sign.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 12 Nov 2019 22:45:05 +0100 |
parents | a5874fdc8f3a |
children | 365e7f083f02 |
comparison
equal
deleted
inserted
replaced
18602:9d6fa65148d2 | 18603:f249b44039e0 |
---|---|
1 /* sign.c */ | 1 /* sign.c */ |
2 void init_signs(void); | 2 void init_signs(void); |
3 int buf_get_signattrs(buf_T *buf, linenr_T lnum, sign_attrs_T *sattr); | 3 int buf_get_signattrs(win_T *wp, linenr_T lnum, sign_attrs_T *sattr); |
4 linenr_T buf_delsign(buf_T *buf, linenr_T atlnum, int id, char_u *group); | 4 linenr_T buf_delsign(buf_T *buf, linenr_T atlnum, int id, char_u *group); |
5 int buf_findsign(buf_T *buf, int id, char_u *group); | 5 int buf_findsign(buf_T *buf, int id, char_u *group); |
6 int buf_findsign_id(buf_T *buf, linenr_T lnum, char_u *groupname); | 6 int buf_findsign_id(buf_T *buf, linenr_T lnum, char_u *groupname); |
7 int buf_findsigntype_id(buf_T *buf, linenr_T lnum, int typenr); | 7 int buf_findsigntype_id(buf_T *buf, linenr_T lnum, int typenr); |
8 int buf_signcount(buf_T *buf, linenr_T lnum); | 8 int buf_signcount(buf_T *buf, linenr_T lnum); |
24 void f_sign_getplaced(typval_T *argvars, typval_T *rettv); | 24 void f_sign_getplaced(typval_T *argvars, typval_T *rettv); |
25 void f_sign_jump(typval_T *argvars, typval_T *rettv); | 25 void f_sign_jump(typval_T *argvars, typval_T *rettv); |
26 void f_sign_place(typval_T *argvars, typval_T *rettv); | 26 void f_sign_place(typval_T *argvars, typval_T *rettv); |
27 void f_sign_placelist(typval_T *argvars, typval_T *rettv); | 27 void f_sign_placelist(typval_T *argvars, typval_T *rettv); |
28 void f_sign_undefine(typval_T *argvars, typval_T *rettv); | 28 void f_sign_undefine(typval_T *argvars, typval_T *rettv); |
29 sign_entry_T *get_first_valid_sign(win_T *wp); | |
30 int signcolumn_on(win_T *wp); | |
29 void f_sign_unplace(typval_T *argvars, typval_T *rettv); | 31 void f_sign_unplace(typval_T *argvars, typval_T *rettv); |
30 void f_sign_unplacelist(typval_T *argvars, typval_T *rettv); | 32 void f_sign_unplacelist(typval_T *argvars, typval_T *rettv); |
31 /* vim: set ft=c : */ | 33 /* vim: set ft=c : */ |