Mercurial > vim
comparison src/evalfunc.c @ 29810:761631155a90 v9.0.0244
patch 9.0.0244: cannot easily get the list of sourced scripts
Commit: https://github.com/vim/vim/commit/f768c3d19c518822d89dec4cc3947ddeea249316
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Mon Aug 22 13:15:13 2022 +0100
patch 9.0.0244: cannot easily get the list of sourced scripts
Problem: Cannot easily get the list of sourced scripts.
Solution: Add the getscriptinfo() function. (Yegappan Lakshmanan,
closes #10957)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 22 Aug 2022 14:30:04 +0200 |
parents | bc6cf208b1b4 |
children | 31c598083364 |
comparison
equal
deleted
inserted
replaced
29809:7847804c8a72 | 29810:761631155a90 |
---|---|
1933 ret_getreg, f_getreg}, | 1933 ret_getreg, f_getreg}, |
1934 {"getreginfo", 0, 1, FEARG_1, arg1_string, | 1934 {"getreginfo", 0, 1, FEARG_1, arg1_string, |
1935 ret_dict_any, f_getreginfo}, | 1935 ret_dict_any, f_getreginfo}, |
1936 {"getregtype", 0, 1, FEARG_1, arg1_string, | 1936 {"getregtype", 0, 1, FEARG_1, arg1_string, |
1937 ret_string, f_getregtype}, | 1937 ret_string, f_getregtype}, |
1938 {"getscriptinfo", 0, 0, 0, NULL, | |
1939 ret_list_dict_any, f_getscriptinfo}, | |
1938 {"gettabinfo", 0, 1, FEARG_1, arg1_number, | 1940 {"gettabinfo", 0, 1, FEARG_1, arg1_number, |
1939 ret_list_dict_any, f_gettabinfo}, | 1941 ret_list_dict_any, f_gettabinfo}, |
1940 {"gettabvar", 2, 3, FEARG_1, arg3_number_string_any, | 1942 {"gettabvar", 2, 3, FEARG_1, arg3_number_string_any, |
1941 ret_any, f_gettabvar}, | 1943 ret_any, f_gettabvar}, |
1942 {"gettabwinvar", 3, 4, FEARG_1, arg4_number_number_string_any, | 1944 {"gettabwinvar", 3, 4, FEARG_1, arg4_number_number_string_any, |