diff options
author | erw7 <erw7.github@gmail.com> | 2019-06-07 13:07:02 +0900 |
---|---|---|
committer | erw7 <erw7.github@gmail.com> | 2019-06-09 13:28:10 +0900 |
commit | 1fbc01f4ab7c652b26f96fe19936f5f8e1f38e45 (patch) | |
tree | b238b08f9f891cc0e30c9c6069a51fd61731ca10 /src/nvim/eval.c | |
parent | 2d6e44087734a39b5e0f2789bcd68e1a4526955f (diff) | |
download | rneovim-1fbc01f4ab7c652b26f96fe19936f5f8e1f38e45.tar.gz rneovim-1fbc01f4ab7c652b26f96fe19936f5f8e1f38e45.tar.bz2 rneovim-1fbc01f4ab7c652b26f96fe19936f5f8e1f38e45.zip |
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.
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r-- | src/nvim/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index 988435fd19..942f8d5e09 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -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) { |