summaryrefslogtreecommitdiff
path: root/src/evalfunc.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-31 15:41:57 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-31 15:41:57 +0200
commitcfb4b47de08e4437c692d382067dc1692cd83c23 (patch)
tree351716a60d481c4bf2b437d095875b2353b7840f /src/evalfunc.c
parentaaad995f8384a77a64efba6846c9c4ac99de0953 (diff)
downloadvim-git-cfb4b47de08e4437c692d382067dc1692cd83c23.tar.gz
patch 8.2.0861: cannot easily get all the current marksv8.2.0861
Problem: Cannot easily get all the current marks. Solution: Add getmarklist(). (Yegappan Lakshmanan, closes #6032)
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r--src/evalfunc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c
index fc8b04483..f40a2ee6d 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -579,6 +579,7 @@ static funcentry_T global_functions[] =
{"getjumplist", 0, 2, FEARG_1, ret_list_any, f_getjumplist},
{"getline", 1, 2, FEARG_1, ret_f_getline, f_getline},
{"getloclist", 1, 2, 0, ret_list_dict_any, f_getloclist},
+ {"getmarklist", 0, 1, 0, ret_list_dict_any, f_getmarklist},
{"getmatches", 0, 1, 0, ret_list_dict_any, f_getmatches},
{"getmousepos", 0, 0, 0, ret_dict_number, f_getmousepos},
{"getpid", 0, 0, 0, ret_number, f_getpid},