0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 9.0.1313: some settings use the current codepage instead of 'encoding'

Problem:    Some settings use the current codepage instead of 'encoding'.
Solution:   Adjust how options are initialized. (Ken Takata, closes #11992)
This commit is contained in:
K.Takata
2023-02-15 19:13:43 +00:00
committed by Bram Moolenaar
parent bc3dc298b3
commit ce3189d56e
7 changed files with 70 additions and 17 deletions

View File

@@ -600,6 +600,8 @@ set_init_1(int clean_arg)
init_spell_chartab();
#endif
set_init_default_encoding();
// Expand environment variables and things like "~" for the defaults.
set_init_expand_env();
@@ -618,7 +620,6 @@ set_init_1(int clean_arg)
didset_options2();
set_init_lang_env();
set_init_default_encoding();
#ifdef FEAT_MULTI_LANG
// Set the default for 'helplang'.