aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/ex_cmds.c5
-rw-r--r--src/nvim/version.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index 2d62d1bc71..576847c7b9 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -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));
diff --git a/src/nvim/version.c b/src/nvim/version.c
index 6354306a08..40ba96c758 100644
--- a/src/nvim/version.c
+++ b/src/nvim/version.c
@@ -212,7 +212,7 @@ static int included_patches[] = {
//278,
277,
//276,
- //275,
+ 275,
274,
//273,
272,