mirror of
https://github.com/neovim/neovim.git
synced 2025-09-12 22:38:16 +00:00
vim-patch:8.1.1120: cannot easily get directory entry matches #12222
Problem: Cannot easily get directory entry matches.
Solution: Add the readdir() function. (Yasuhiro Matsumoto, closes vim/vim#2439)
543c9b1921
closes #12212
This commit is contained in:

committed by
GitHub

parent
48c2198297
commit
d2766b06c8
@@ -915,7 +915,7 @@ varnumber_T eval_to_number(char_u *expr)
|
||||
* Save the current typeval in "save_tv".
|
||||
* When not used yet add the variable to the v: hashtable.
|
||||
*/
|
||||
static void prepare_vimvar(int idx, typval_T *save_tv)
|
||||
void prepare_vimvar(int idx, typval_T *save_tv)
|
||||
{
|
||||
*save_tv = vimvars[idx].vv_tv;
|
||||
if (vimvars[idx].vv_type == VAR_UNKNOWN)
|
||||
@@ -926,7 +926,7 @@ static void prepare_vimvar(int idx, typval_T *save_tv)
|
||||
* Restore v: variable "idx" to typeval "save_tv".
|
||||
* When no longer defined, remove the variable from the v: hashtable.
|
||||
*/
|
||||
static void restore_vimvar(int idx, typval_T *save_tv)
|
||||
void restore_vimvar(int idx, typval_T *save_tv)
|
||||
{
|
||||
hashitem_T *hi;
|
||||
|
||||
|
Reference in New Issue
Block a user