0
0
mirror of https://github.com/vim/vim.git synced 2025-10-14 07:04:10 -04:00

patch 8.1.0673: functionality for signs is spread out over several files

Problem:    Functionality for signs is spread out over several files.
Solution:   Move most of the sign functionality into sign.c. (Yegappan
            Lakshmanan, closes #3751)
This commit is contained in:
Bram Moolenaar
2019-01-01 13:20:31 +01:00
parent 9067cd6cdf
commit bbea47075c
21 changed files with 1957 additions and 1935 deletions

View File

@@ -4424,24 +4424,6 @@ f_get(typval_T *argvars, typval_T *rettv)
copy_tv(tv, rettv);
}
#ifdef FEAT_SIGNS
/*
* Returns information about signs placed in a buffer as list of dicts.
*/
static void
get_buffer_signs(buf_T *buf, list_T *l)
{
signlist_T *sign;
dict_T *d;
FOR_ALL_SIGNS_IN_BUF(buf, sign)
{
if ((d = sign_get_info(sign)) != NULL)
list_append_dict(l, d);
}
}
#endif
/*
* Returns buffer options, variables and other attributes in a dictionary.
*/