vim-patch:8.1.1639: changing an autoload name into a file name is inefficient

Problem:    Changing an autoload name into a script file name is inefficient.
Solution:   Remember the last replaced #. (Ozaki Kiichi, closes vim/vim#4618)
28fc247f8d
This commit is contained in:
Jan Edmund Lazo 2019-07-05 22:12:11 -04:00
parent 255d189089
commit 6f924880c7
1 changed files with 1 additions and 0 deletions

View File

@ -22025,6 +22025,7 @@ static bool script_autoload(const char *const name, const size_t name_len,
}
/// Return the autoload script name for a function or variable name
/// Caller must make sure that "name" contains AUTOLOAD_CHAR.
///
/// @param[in] name Variable/function name.
/// @param[in] name_len Name length.