mirror of
https://github.com/neovim/neovim.git
synced 2024-12-25 05:35:10 -07:00
fix(mark): set mark fnum from buffer (#19195)
This commit is contained in:
parent
9b4d0137b8
commit
5bd1bdee14
@ -430,6 +430,10 @@ fmark_T *mark_get_local(buf_T *buf, win_T *win, int name)
|
|||||||
mark = mark_get_motion(buf, win, name);
|
mark = mark_get_motion(buf, win, name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (mark) {
|
||||||
|
mark->fnum = buf->b_fnum;
|
||||||
|
}
|
||||||
|
|
||||||
return mark;
|
return mark;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user