Mercurial > vim
diff src/netbeans.c @ 15209:3a99b2e6d136 v8.1.0614
patch 8.1.0614: placing signs can be complicated
commit https://github.com/vim/vim/commit/162b71479bd4dcdb3a2ef9198a1444f6f99e6843
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Dec 21 15:17:36 2018 +0100
patch 8.1.0614: placing signs can be complicated
Problem: Placing signs can be complicated.
Solution: Add functions for defining and placing signs. Introduce a group
name to avoid different plugins using the same signs. (Yegappan
Lakshmanan, closes #3652)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 21 Dec 2018 15:30:07 +0100 |
parents | 27b9a84395b5 |
children | 890203d87ee5 |
line wrap: on
line diff
--- a/src/netbeans.c +++ b/src/netbeans.c @@ -1042,7 +1042,7 @@ nb_do_cmd( cp = (char *)args; serNum = strtol(cp, &cp, 10); /* If the sign isn't found linenum will be zero. */ - linenum = (long)buf_findsign(buf->bufp, serNum); + linenum = (long)buf_findsign(buf->bufp, serNum, NULL); } #endif nb_reply_nr(cmdno, linenum); @@ -1256,7 +1256,7 @@ nb_do_cmd( { nbdebug((" Deleting sign %d on line %d\n", id, i)); - buf_delsign(buf->bufp, id); + buf_delsign(buf->bufp, id, NULL); } else {