vim-patch:8.2.0996: using "aucmdwin" in win_gettype() is not ideal

Problem:    Using "aucmdwin" in win_gettype() is not ideal.
Solution:   Rename to "autocmd".
40a019f157
This commit is contained in:
Jan Edmund Lazo
2020-11-25 02:43:23 -05:00
parent 9b2efe6b7d
commit 8d7fa8962b
3 changed files with 3 additions and 3 deletions

View File

@@ -11007,7 +11007,7 @@ static void f_win_gettype(typval_T *argvars, typval_T *rettv, FunPtr fptr)
}
}
if (wp == aucmd_win) {
rettv->vval.v_string = vim_strsave((char_u *)"aucmdwin");
rettv->vval.v_string = vim_strsave((char_u *)"autocmd");
} else if (wp->w_p_pvw) {
rettv->vval.v_string = vim_strsave((char_u *)"preview");
} else if (wp->w_floating) {