mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 16:28:17 +00:00
fix(api): don't set coladd of mark (#26648)
This commit is contained in:
@@ -1044,7 +1044,7 @@ bool set_mark(buf_T *buf, String name, Integer line, Integer col, Error *err)
|
||||
}
|
||||
}
|
||||
assert(INT32_MIN <= line && line <= INT32_MAX);
|
||||
pos_T pos = { (linenr_T)line, (int)col, (int)col };
|
||||
pos_T pos = { (linenr_T)line, (int)col, 0 };
|
||||
res = setmark_pos(*name.data, &pos, buf->handle, NULL);
|
||||
if (!res) {
|
||||
if (deleting) {
|
||||
|
Reference in New Issue
Block a user