Mercurial > vim
comparison src/proto/scriptfile.pro @ 28139:f34afadbef47 v8.2.4594
patch 8.2.4594: need to write script to a file to be able to source them
Commit: https://github.com/vim/vim/commit/36a5b6867bb6c0bd69c8da7d788000ab8a0b0ab0
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Sat Mar 19 12:56:51 2022 +0000
patch 8.2.4594: need to write script to a file to be able to source them
Problem: Need to write script to a file to be able to source them.
Solution: Make ":source" use lines from the current buffer. (Yegappan
Lakshmanan et al., closes #9967)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 19 Mar 2022 14:00:03 +0100 |
parents | 140102677c12 |
children | e1d1fa6ba1ed |
comparison
equal
deleted
inserted
replaced
28138:d14809743aa0 | 28139:f34afadbef47 |
---|---|
40 char_u *script_name_after_autoload(scriptitem_T *si); | 40 char_u *script_name_after_autoload(scriptitem_T *si); |
41 char_u *get_autoload_prefix(scriptitem_T *si); | 41 char_u *get_autoload_prefix(scriptitem_T *si); |
42 char_u *may_prefix_autoload(char_u *name); | 42 char_u *may_prefix_autoload(char_u *name); |
43 char_u *autoload_name(char_u *name); | 43 char_u *autoload_name(char_u *name); |
44 int script_autoload(char_u *name, int reload); | 44 int script_autoload(char_u *name, int reload); |
45 int sourcing_a_script(exarg_T *eap); | |
45 /* vim: set ft=c : */ | 46 /* vim: set ft=c : */ |