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:
@@ -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'.
|
||||
|
Reference in New Issue
Block a user