forked from aniani/vim
patch 8.2.4820: not simple programmatic way to find a specific mapping
Problem: Not simple programmatic way to find a specific mapping. Solution: Add getmappings(). (Ernie Rael, closes #10273)
This commit is contained in:
committed by
Bram Moolenaar
parent
a4e3332650
commit
659c240cf7
@@ -1871,6 +1871,8 @@ static funcentry_T global_functions[] =
|
||||
ret_getline, f_getline},
|
||||
{"getloclist", 1, 2, 0, arg2_number_dict_any,
|
||||
ret_list_or_dict_1, f_getloclist},
|
||||
{"getmappings", 0, 0, 0, NULL,
|
||||
ret_list_dict_any, f_getmappings},
|
||||
{"getmarklist", 0, 1, FEARG_1, arg1_buffer,
|
||||
ret_list_dict_any, f_getmarklist},
|
||||
{"getmatches", 0, 1, 0, arg1_number,
|
||||
|
||||
Reference in New Issue
Block a user