Mercurial > vim
comparison src/evalfunc.c @ 28602:398c5b3211f9 v8.2.4825
patch 8.2.4825: can only get a list of mappings
Commit: https://github.com/vim/vim/commit/09661203ecefbee6a6f09438afcff1843e9dbfb4
Author: Ernie Rael <errael@raelity.com>
Date: Mon Apr 25 14:40:44 2022 +0100
patch 8.2.4825: can only get a list of mappings
Problem: Can only get a list of mappings.
Solution: Add the optional {abbr} argument. (Ernie Rael, closes https://github.com/vim/vim/issues/10277)
Rename to maplist(). Rename test file.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 25 Apr 2022 15:45:03 +0200 |
parents | d3c966c0cdf7 |
children | 5ef46b938c6e |
comparison
equal
deleted
inserted
replaced
28601:a4d54a260c59 | 28602:398c5b3211f9 |
---|---|
1869 ret_list_any, f_getjumplist}, | 1869 ret_list_any, f_getjumplist}, |
1870 {"getline", 1, 2, FEARG_1, arg2_lnum, | 1870 {"getline", 1, 2, FEARG_1, arg2_lnum, |
1871 ret_getline, f_getline}, | 1871 ret_getline, f_getline}, |
1872 {"getloclist", 1, 2, 0, arg2_number_dict_any, | 1872 {"getloclist", 1, 2, 0, arg2_number_dict_any, |
1873 ret_list_or_dict_1, f_getloclist}, | 1873 ret_list_or_dict_1, f_getloclist}, |
1874 {"getmappings", 0, 0, 0, NULL, | |
1875 ret_list_dict_any, f_getmappings}, | |
1876 {"getmarklist", 0, 1, FEARG_1, arg1_buffer, | 1874 {"getmarklist", 0, 1, FEARG_1, arg1_buffer, |
1877 ret_list_dict_any, f_getmarklist}, | 1875 ret_list_dict_any, f_getmarklist}, |
1878 {"getmatches", 0, 1, 0, arg1_number, | 1876 {"getmatches", 0, 1, 0, arg1_number, |
1879 ret_list_dict_any, f_getmatches}, | 1877 ret_list_dict_any, f_getmatches}, |
1880 {"getmousepos", 0, 0, 0, NULL, | 1878 {"getmousepos", 0, 0, 0, NULL, |
2047 ret_first_cont, f_map}, | 2045 ret_first_cont, f_map}, |
2048 {"maparg", 1, 4, FEARG_1, arg14_maparg, | 2046 {"maparg", 1, 4, FEARG_1, arg14_maparg, |
2049 ret_maparg, f_maparg}, | 2047 ret_maparg, f_maparg}, |
2050 {"mapcheck", 1, 3, FEARG_1, arg3_string_string_bool, | 2048 {"mapcheck", 1, 3, FEARG_1, arg3_string_string_bool, |
2051 ret_string, f_mapcheck}, | 2049 ret_string, f_mapcheck}, |
2050 {"maplist", 0, 1, 0, arg1_bool, | |
2051 ret_list_dict_any, f_maplist}, | |
2052 {"mapnew", 2, 2, FEARG_1, arg2_mapnew, | 2052 {"mapnew", 2, 2, FEARG_1, arg2_mapnew, |
2053 ret_first_cont, f_mapnew}, | 2053 ret_first_cont, f_mapnew}, |
2054 {"mapset", 3, 3, FEARG_1, arg3_string_bool_dict, | 2054 {"mapset", 3, 3, FEARG_1, arg3_string_bool_dict, |
2055 ret_void, f_mapset}, | 2055 ret_void, f_mapset}, |
2056 {"match", 2, 4, FEARG_1, arg24_match_func, | 2056 {"match", 2, 4, FEARG_1, arg24_match_func, |