summaryrefslogtreecommitdiff
path: root/src/tag.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-01-10 20:22:54 +0100
committerBram Moolenaar <Bram@vim.org>2021-01-10 20:22:54 +0100
commit6f02b00bb0958f70bc15534e115b4c6dadff0e06 (patch)
treeb69dcc9f4d3462f996adae5784570e4a1d2cf95a /src/tag.c
parent31a11b942a56bf75a653eec0976f365f9b389a5a (diff)
downloadvim-git-6f02b00bb0958f70bc15534e115b4c6dadff0e06.tar.gz
patch 8.2.2324: not easy to get mark en cursor posotion by character countv8.2.2324
Problem: Not easy to get mark en cursor posotion by character count. Solution: Add functions that use character index. (Yegappan Lakshmanan, closes #7648)
Diffstat (limited to 'src/tag.c')
-rw-r--r--src/tag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tag.c b/src/tag.c
index 3dfb8fee5..e3cd87677 100644
--- a/src/tag.c
+++ b/src/tag.c
@@ -4201,7 +4201,7 @@ tagstack_push_items(win_T *wp, list_T *l)
// parse 'from' for the cursor position before the tag jump
if ((di = dict_find(itemdict, (char_u *)"from", -1)) == NULL)
continue;
- if (list2fpos(&di->di_tv, &mark, &fnum, NULL) != OK)
+ if (list2fpos(&di->di_tv, &mark, &fnum, NULL, FALSE) != OK)
continue;
if ((tagname =
dict_get_string(itemdict, (char_u *)"tagname", TRUE)) == NULL)