mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 14:38:32 +00:00
vim-patch:7.4.275
Problem: When changing the type of a sign that hasn't been placed ther is no error message. Solution: Add an error message. (Christian Brabandt) Author: Bram Moolenaar https://code.google.com/p/vim/source/detail?r=8a3117a4887c1e12a1165c9719491f96753
This commit is contained in:

committed by
Justin M. Keyes

parent
d5c2cee1b7
commit
e8b4fc53fc
@@ -6026,7 +6026,10 @@ void ex_sign(exarg_T *eap)
|
||||
else
|
||||
/* ":sign place {id} file={fname}": change sign type */
|
||||
lnum = buf_change_sign_type(buf, id, sp->sn_typenr);
|
||||
update_debug_sign(buf, lnum);
|
||||
if (lnum > 0)
|
||||
update_debug_sign(buf, lnum);
|
||||
else
|
||||
EMSG2(_("E885: Not possible to change sign %s"), sign_name);
|
||||
}
|
||||
else
|
||||
EMSG(_(e_invarg));
|
||||
|
@@ -212,7 +212,7 @@ static int included_patches[] = {
|
||||
//278,
|
||||
277,
|
||||
//276,
|
||||
//275,
|
||||
275,
|
||||
274,
|
||||
//273,
|
||||
272,
|
||||
|
Reference in New Issue
Block a user