mirror of
https://github.com/vim/vim.git
synced 2025-07-24 10:45:12 -04:00
patch 9.1.0362: expanding rc config files does not work well
Problem: expanding rc config files does not work well (Michał Sieroń, after v9.1.0327) Solution: initialize chartab option, required to expand evironment variables fixes: #14597 Co-authored-by: author Signed-off-by: author Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
5eaa4d98f7
commit
b09fa35a04
@ -384,6 +384,8 @@ set_init_xdg_rtp(void)
|
|||||||
char_u *xdg_rtp = NULL;
|
char_u *xdg_rtp = NULL;
|
||||||
char_u *vimrc_xdg = NULL;
|
char_u *vimrc_xdg = NULL;
|
||||||
|
|
||||||
|
// initialize chartab, so we can expand $HOME
|
||||||
|
(void)init_chartab();
|
||||||
vimrc1 = expand_env_save((char_u *)USR_VIMRC_FILE);
|
vimrc1 = expand_env_save((char_u *)USR_VIMRC_FILE);
|
||||||
vimrc2 = expand_env_save((char_u *)USR_VIMRC_FILE2);
|
vimrc2 = expand_env_save((char_u *)USR_VIMRC_FILE2);
|
||||||
|
|
||||||
|
@ -704,6 +704,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
362,
|
||||||
/**/
|
/**/
|
||||||
361,
|
361,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user