fix(mark): set mark fnum from buffer (#19195)

This commit is contained in:
Gregory Anders 2022-07-01 17:20:50 -06:00 committed by GitHub
parent 9b4d0137b8
commit 5bd1bdee14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -430,6 +430,10 @@ fmark_T *mark_get_local(buf_T *buf, win_T *win, int name)
mark = mark_get_motion(buf, win, name);
}
if (mark) {
mark->fnum = buf->b_fnum;
}
return mark;
}