mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 19:06:31 +00:00
Fix problems with message catalog directory
- In appimage, the message catalog is not used because there is no message catalog in LOCALE_INSTALL_DIR. Therefore, change to exepath/../share/locale instead of LOCALE_INSTALL_DIR. - The old vim style($runtime/lang) is no longer used. Thus all relevant code is removed.
This commit is contained in:
@@ -1890,7 +1890,7 @@ static char_u *ex_let_one(char_u *arg, typval_T *const tv,
|
||||
}
|
||||
}
|
||||
if (p != NULL) {
|
||||
vim_setenv(name, p);
|
||||
os_setenv(name, p, 1);
|
||||
if (STRICMP(name, "HOME") == 0) {
|
||||
init_homedir();
|
||||
} else if (didset_vim && STRICMP(name, "VIM") == 0) {
|
||||
|
Reference in New Issue
Block a user