1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-26 23:36:08 +03:00

Do not set ${LANG} explicitly to en_US.UTF-8

- paste works without it since we're using the paste API call
This commit is contained in:
Tae Won Ha 2020-08-12 18:55:18 +02:00
parent c9ba804ca4
commit c7a333f831
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -220,11 +220,6 @@ static void start_nvim(void *arg __unused) {
backspace = cstr_as_string("<BS>"); backspace = cstr_as_string("<BS>");
setenv_vimruntime(); setenv_vimruntime();
// Set $LANG to en_US.UTF-8 such that the copied text to the system clipboard
// is not garbled.
setenv("LANG", "en_US.UTF-8", true);
nvim_main(nvim_argc, nvim_argv); nvim_main(nvim_argc, nvim_argv);
} }