extmark: Change nvim_buf_set_extmark to not create undo data

This commit is contained in:
erw7 2020-09-25 09:26:44 +09:00
parent b2f9c2b6c1
commit f1b39f91a5

View File

@ -1420,7 +1420,7 @@ Integer nvim_buf_set_extmark(Buffer buffer, Integer ns_id,
} }
id = extmark_set(buf, (uint64_t)ns_id, id, id = extmark_set(buf, (uint64_t)ns_id, id,
(int)line, (colnr_T)col, line2, col2, decor, kExtmarkUndo); (int)line, (colnr_T)col, line2, col2, decor, kExtmarkNoUndo);
return (Integer)id; return (Integer)id;