mirror of
https://github.com/neovim/neovim.git
synced 2025-10-13 13:26:06 +00:00
vim-patch:9.0.0003: functions are global while they could be local (#29777)
Problem: Functions are global while they could be local.
Solution: Add "static". Add a few tests. (Yegappan Lakshmanan,
closes vim/vim#10612)
ee47eaceaa
Omit script_name_after_autoload(), untrans_function_name(): Vim9 script
only.
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
This commit is contained in:
@@ -105,7 +105,7 @@ char *eval_one_expr_in_str(char *p, garray_T *gap, bool evaluate)
|
||||
/// string in allocated memory. "{{" is reduced to "{" and "}}" to "}".
|
||||
/// Used for a heredoc assignment.
|
||||
/// Returns NULL for an error.
|
||||
char *eval_all_expr_in_str(char *str)
|
||||
static char *eval_all_expr_in_str(char *str)
|
||||
{
|
||||
garray_T ga;
|
||||
ga_init(&ga, 1, 80);
|
||||
|
Reference in New Issue
Block a user