Mercurial > vim
diff src/evalfunc.c @ 17366:9843fbfa0ee5 v8.1.1682
patch 8.1.1682: placing a larger number of signs is slow
commit https://github.com/vim/vim/commit/809ce4d317fe12db0b2c17f16b4f77200fb060c4
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jul 13 21:21:40 2019 +0200
patch 8.1.1682: placing a larger number of signs is slow
Problem: Placing a larger number of signs is slow.
Solution: Add functions for dealing with a list of signs. (Yegappan
Lakshmanan, closes #4636)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 13 Jul 2019 21:30:04 +0200 |
parents | d82b0cfb1e82 |
children | cb008de2a6ec |
line wrap: on
line diff
--- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -888,8 +888,10 @@ static struct fst {"sign_getplaced", 0, 2, f_sign_getplaced}, {"sign_jump", 3, 3, f_sign_jump}, {"sign_place", 4, 5, f_sign_place}, + {"sign_placelist", 1, 1, f_sign_placelist}, {"sign_undefine", 0, 1, f_sign_undefine}, {"sign_unplace", 1, 2, f_sign_unplace}, + {"sign_unplacelist", 1, 2, f_sign_unplacelist}, #endif {"simplify", 1, 1, f_simplify}, #ifdef FEAT_FLOAT