Mercurial > vim
comparison src/proto/scriptfile.pro @ 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 | a74398c432a4 |
children | 5948cc887603 |
comparison
equal
deleted
inserted
replaced
29809:7847804c8a72 | 29810:761631155a90 |
---|---|
31 void scriptnames_slash_adjust(void); | 31 void scriptnames_slash_adjust(void); |
32 char_u *get_scriptname(scid_T id); | 32 char_u *get_scriptname(scid_T id); |
33 void free_scriptnames(void); | 33 void free_scriptnames(void); |
34 void free_autoload_scriptnames(void); | 34 void free_autoload_scriptnames(void); |
35 linenr_T get_sourced_lnum(char_u *(*fgetline)(int, void *, int, getline_opt_T), void *cookie); | 35 linenr_T get_sourced_lnum(char_u *(*fgetline)(int, void *, int, getline_opt_T), void *cookie); |
36 void f_getscriptinfo(typval_T *argvars, typval_T *rettv); | |
36 char_u *getsourceline(int c, void *cookie, int indent, getline_opt_T options); | 37 char_u *getsourceline(int c, void *cookie, int indent, getline_opt_T options); |
37 int sourcing_a_script(exarg_T *eap); | 38 int sourcing_a_script(exarg_T *eap); |
38 void ex_scriptencoding(exarg_T *eap); | 39 void ex_scriptencoding(exarg_T *eap); |
39 void ex_scriptversion(exarg_T *eap); | 40 void ex_scriptversion(exarg_T *eap); |
40 void ex_finish(exarg_T *eap); | 41 void ex_finish(exarg_T *eap); |