mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 8.2.0871: cannot use getmarklist() as a method
Problem: Cannot use getmarklist() as a method. Solution: Make getmarklist() work as a method. Add one to the column number to match getpos(). (Yegappan Lakshmanan, closes #6176)
This commit is contained in:
@@ -1442,7 +1442,7 @@ add_mark(list_T *l, char_u *mname, pos_T *pos, int bufnr, char_u *fname)
|
||||
|
||||
list_append_number(lpos, bufnr);
|
||||
list_append_number(lpos, pos->lnum);
|
||||
list_append_number(lpos, pos->col);
|
||||
list_append_number(lpos, pos->col + 1);
|
||||
list_append_number(lpos, pos->coladd);
|
||||
|
||||
if (dict_add_string(d, "mark", mname) == FAIL
|
||||
|
Reference in New Issue
Block a user