Mercurial > vim
comparison src/evalfunc.c @ 28592:d3c966c0cdf7 v8.2.4820
patch 8.2.4820: not simple programmatic way to find a specific mapping
Commit: https://github.com/vim/vim/commit/659c240cf769925ff432b88df8719e7ace4629b0
Author: Ernie Rael <errael@raelity.com>
Date: Sun Apr 24 18:40:28 2022 +0100
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 https://github.com/vim/vim/issues/10273)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 24 Apr 2022 19:45:03 +0200 |
parents | 922cd0dced4b |
children | 398c5b3211f9 |
comparison
equal
deleted
inserted
replaced
28591:1efc196073c2 | 28592:d3c966c0cdf7 |
---|---|
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}, | |
1874 {"getmarklist", 0, 1, FEARG_1, arg1_buffer, | 1876 {"getmarklist", 0, 1, FEARG_1, arg1_buffer, |
1875 ret_list_dict_any, f_getmarklist}, | 1877 ret_list_dict_any, f_getmarklist}, |
1876 {"getmatches", 0, 1, 0, arg1_number, | 1878 {"getmatches", 0, 1, 0, arg1_number, |
1877 ret_list_dict_any, f_getmatches}, | 1879 ret_list_dict_any, f_getmatches}, |
1878 {"getmousepos", 0, 0, 0, NULL, | 1880 {"getmousepos", 0, 0, 0, NULL, |