aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/extmark.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/api/extmark.c')
-rw-r--r--src/nvim/api/extmark.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/api/extmark.c b/src/nvim/api/extmark.c
index a6aadc2430..fa74d9a667 100644
--- a/src/nvim/api/extmark.c
+++ b/src/nvim/api/extmark.c
@@ -829,7 +829,8 @@ Integer nvim_buf_set_extmark(Buffer buffer, Integer ns_id, Integer line, Integer
}
} else {
if (opts->ephemeral) {
- api_set_error(err, kErrorTypeException, "not yet implemented");
+ api_set_error(err, kErrorTypeException,
+ "cannot set emphemeral mark outside of a decoration provider");
goto error;
}