Mercurial > vim
comparison src/workshop.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 |
comparison
equal
deleted
inserted
replaced
15208:acf68008ca43 | 15209:3a99b2e6d136 |
---|---|
489 #endif | 489 #endif |
490 | 490 |
491 lineno = 0; | 491 lineno = 0; |
492 buf = buflist_findname((char_u *)filename); | 492 buf = buflist_findname((char_u *)filename); |
493 if (buf != NULL) | 493 if (buf != NULL) |
494 lineno = buf_findsign(buf, markId); | 494 lineno = buf_findsign(buf, markId, NULL); |
495 | 495 |
496 return lineno; | 496 return lineno; |
497 } | 497 } |
498 | 498 |
499 | 499 |