refactor(extmarks): extmark_del() with MarkTreeIter

This commit is contained in:
Luuk van Baal
2023-10-31 23:53:52 +01:00
parent 746a153bc1
commit 14c7bf3916
2 changed files with 23 additions and 59 deletions

View File

@@ -862,7 +862,7 @@ Boolean nvim_buf_del_extmark(Buffer buffer, Integer ns_id, Integer id, Error *er
return false;
}
return extmark_del(buf, (uint32_t)ns_id, (uint32_t)id);
return extmark_del_id(buf, (uint32_t)ns_id, (uint32_t)id);
}
uint32_t src2ns(Integer *src_id)